Contents | Index | < Browse | Browse >

 OTHER Events :
 =================================================================

 These are various events (things that the user may do), for which 
 commands may be declared. The commands attached will be executed 
 every time the given event happens. No arguments are passed.

 xOnRMB
     Will happen upon the clicking of the Right Mouse Button 
     Only works if there are no menus declared.

 xOnACTIVE
     When the window is activated by the user

 xOnINACTIVE
     When the window is made inactive

 xONDOUBLECLICK
    Upon the double-clicking of the window, on an area not
    taken up by a gadget. - If this event is not declared,
    the default is to bring the window to front.

 xONCLICK
    Will happen whenever the user clicks in any part of the 
    window that is not taken up by a gadget. Note that if you 
    double-click you'll get one xOnClick and one xOnDoubleClick
    (if both defined).

 xONFAIL
    The commands of this event are executed if the return
    code of a program launched by a CLI command, is equal to
    or exceeds 10, or any other ErrorNumber you have set with
    the  FAILAT  command.

 xBEFORE
    Attach commands to be executed before every other execution
    starts. This will be called every time a gadget is
    clicked on, and be executed before the gadget's commands.
    It does not apply to the above events (xOnLOAD etc)

 xAFTER
    Same as xBEFORE, but these commands are executed after the
    Gadget commands.

 xONDISKIN
    Happens whenever a disk is inserted (currently there is no
    way to find out *which* disk was inserted - not my fault!!)

 xONDISKOUT
    Whenever a disk is removed.

 xONFART
    not yet implemented...