Get RGB color under mouse

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Get RGB color under mouse

Postby ConvertFromOldNGs » Fri Aug 07, 2009 3:00 pm

by Scott >> Sun, 8 Mar 2009 23:00:13 GMT

I load picture ok but want get RGB color under mouse. Please explain how get RGB use picture mouseMove for x,y value. It good you explain please soon. Thank you your time.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Get RGB color under mouse

Postby ConvertFromOldNGs » Fri Aug 07, 2009 3:00 pm

by Dean Cooper >> Sun, 8 Mar 2009 23:45:24 GMT

Try this method:

Window::getPoint(x1, y1 : Real) : Integer;

Dean.

<Scott (JADE Tech Tip Techniques)> wrote in message news:5529@news.jadeworld.com...

I load picture ok but want get RGB color under mouse. Please explain how get RGB use picture mouseMove for x,y value. It good you explain please soon. Thank you your time.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Get RGB color under mouse

Postby ConvertFromOldNGs » Fri Aug 07, 2009 3:00 pm

by Scott >> Mon, 9 Mar 2009 0:52:36 GMT

Thank you getPoint it work well. But I look Window method before post and not find. Why help not show getPoint method like show other Window method? It go straight getMonitorWorkArea next getPropertyDisplay but no getPoint. Is wrong miss getPoint in list method?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Get RGB color under mouse

Postby ConvertFromOldNGs » Fri Aug 07, 2009 3:00 pm

by Jade Support >> Mon, 9 Mar 2009 3:48:00 GMT

I have opened a Documentation Fault to address this issue. The getPoint() method should be documented in the JADE Encyclopaedia of Classes and Types (Volume 3) PDF under "Window Class".

Jade Support.


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 14 guests