OTHER Events : --------------- These are various events (things that the user may do), for which commands may be declared. The commands attached to these events are executed every time the given event happens. No arguments are passed. xOnRMB -> upon 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. There are also the following events : 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, except by checking with the $$DISK.xxx internal variables) xONDISKOUT -> Whenever a disk is removed. xONFART -> not yet implemented...