Description :
This instruction changes an area of the screen into an interactive element which can react to the mouse.
Parameters :
-
Name of the procedure managing the events.
-
X component of the area's top left pixel position.
-
Y component of the area's top left pixel position.
-
Width of the area, expressed in pixels.
-
Height of the area, expressed in pixels.
-
ALL
RELEASE_BUTTON
PRESS_LEFT_BUTTON
PRESS_RIGHT_BUTTON
RELEASE_LEFT_BUTTON
RELEASE_RIGHT_BUTTON
DOUBLE_CLICK_LEFT_BUTTON
DOUBLE_CLICK_RIGHT_BUTTON
EXIT_ZONE
ENTER_ZONE
RELEASE_BUTTON
-
This parameter is facultative. If you create many events, it may be easier to call an index rather than a ObjectID. To do so, place each ObjectID in a table and call the procedure using an index to the table.
Return Handle :
Notes :
When creating the procedure, you should always organize its three parameters in the following order: Event ObjectID, Event Status, Index.
Examples :
|