Button events
This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto. |
The focus events are:
OnUp
The user press the change focus to previous control.
OnDown
The user press the change focus to next focus control.
OnLeft
The user wants to decrease the value shown to the control to be decreased.
OnRight
The user wants to decrease the value shown to the control to be increased.
OnEnter
The user wants to apply all settings from current screen and if are more screens, to go to following screen. Ussually on OnEnter command the $next command will follow.
OnCancel
The user wants to cancel all settings from current screen and if are more screens, to go to previous screen. Ussually on OnCancel command the $previous command will follow.
Because Button is too a non focus control, it will have standard events that any control:
OnInit
That event appears before first paint. It may be used to call a specified script. That may be useful even the actual file is fixed form.
OnPaint
That event appears on any display change, it may be used to refresh form status
OnClose
OnClose event may be used before changing the screen