This event is generated when the mouse cursor is over a layer image and the mouse button is been released

[C++Builder]   imagekitcontrolnameMouseUpSelectLayerImage(TObject *Sender, short Index, int X, int Y)
[Delphi]   imagekitcontrolnameMouseUpSelectLayerImage(Sender: TObject; Index: Smallint; X, Y: Integer)

Parameters

Name Explanation
Index The index for the image layer where the mouse was released. (0 to 99)
x, y The position of the mouse release in relation to the top left corner of the image layer referred to by the Index parameter (in pixels). In other words, how far the mouse release is from the top left corner of the image layer.

Explanation

The MouseUpSelectLayerImage event is generated when the mouse cursor is over a layer image and the mouse button is released.

If there is more than one layer image at the location where the mouse button was released, the top most image will be selected. For example if at the mouse release location there are two image layers as indicated by the LayerNo property index 0 and 3, the image layer corresponding to index 3 will be selected. (image layers with larger indexes are displayed above image layers with smaller indexes).

 

The ImageKit10 VCL is a product created by Newtone Corporation