Frame behaviour is defined by what a frame does in response to an event that
it receives.
Each frame can have a script file associated with it which lists what the
frame must do in response to an event. When a frame receives an event, it
calls a procedure whose name is directly related to the name of the event.
For example, if a frame receives a 'Foo' event then the script procedure
called 'OnFoo' will be executed.
In this version of My World, a frame can only receive the following events:
- "Load": all frames receive this event when a My World file is loaded
- "UnLoad": all frames receive this event when a My World file is unloaded
(i.e. when either another My World file is about to be loaded to replace the
current one or if My World is about to exit).
- "Open": all frames receive this event when the screen in which the frame
belongs is opened.
- "Close": all frames receive this event when the screen in which the frame
belongs is closed.
- "Click": the frame underneath the pointer receives this event when the left
mouse button is clicked and there is no object being dragged.
- "Drop": the frame underneath the pointer receives this event when the left
mouse button is clicked and there is an object being dragged.
Menu Next Contents