Difference between revisions of "Button events"

From LinuxMCE
Jump to: navigation, search
Line 3: Line 3:
 
See which are [[focus events]]
 
See which are [[focus events]]
  
 +
Because Button is a non focus-able control, it will have standard events that any control has.
  
Because Button is too a non focus control, it will have standard events that any control:
+
See [[non-focus events]].
 
+
'''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
+

Revision as of 08:23, 11 April 2006

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.
Button is a focus control will have specific events. Event the button get the specified focus event, if the current button haven't focus, the event will be ignored.

See which are focus events

Because Button is a non focus-able control, it will have standard events that any control has.

See non-focus events.