PictureX

[property icon] PictureX

Returns the x pixel position within the picture of the mouse position of a Click() event, or -1 if there is no picture or the click is outside of the picture.

Read-only Runtime-only Integer property

Applies to: Picture Button

Introduced in KCML version 6.90


ReTurns The X posiTIon of The mouse poinTer wiThin a Click() evenT. The posiTIon is in Terms of pixels relaTIve To The picTure origin. If The click is ouTside The picTure or There is no picTure The value is -1.

See also

Picture Button methods, properties and events.