GUI Help > Special > getPoint
getPoint
color point=getPoint(handle gadget, int x, int y)
Description: Retrives the colour of a pixel in a canvas gadget.
Return Value: The colour of the specified pixel. You can use this with other DBPro colour commands.
Parameters:
gadget | Handle of a canvas gadget
x | X co-ordinate of the pixel, starting from 0 at the left-edge of the gadget.
y | Y co-ordinate of the pixel, starting at 0 on the top edge of the gadget.
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)