Description :
This instruction displays a previously-loaded button (BTN) in the current Alambik screen.
Parameters :
-
ObjectID for the button.
-
X component of the button's top left pixel position.
-
Y component of the button's top left pixel position.
-
Name of the procedure managing events.
-
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 an ObjectID. This way, each ObjectID can be placed in a table and the procedure can be called with the index of the table.
Notes :
"Actions" allow ".bnt" buttons to automatically react to the mouse cursor. Usually, a ".bnt" button is composed of three actions:
Action 1: released state of the button.
Action 2: Mouseover state of the button.
Action 3: Pressed state of the button.
Some buttons, such as locking buttons, can have six actions.
Examples :
|