Frame and View Events

Bringing up the properties dialog box with no objects selected and clicking the Events tab allows you to access and edit the view and frame event handlers.
Table 1. View Events

View Event

Description

EventClick

VBScript action callback procedure run when a user clicks over the object (or for a Windows control, when it changes value).

EventInitialize

VBScript action callback procedure run when the form first starts up (used for setup).

EventTerminate

VBScript action callback procedure run when the form first shuts down (used for cleanup).

There are also a number of optional events that may be linked in:

Table 2. Optional Events

Event

Description

EventDblClick

VBScript action callback procedure run when a user double-clicks over an object.

EventDragDrop

VBScript action callback procedure run when a user drops (text) over an object during drag & drop.

EventDragEnter

VBScript action callback procedure run when a user first enters a view while dragging during drag & drop.

EventDragOver

VBScript action callback procedure run when a user drags (text) over an object during drag & drop. You must set "Effect = 1" to enable EventDragDrop.

EventMouseDown

VBScript action callback procedure run when a user clicks the Left mouse button down over an object.

EventMouseMove

VBScript action callback procedure run when a user moves the mouse pointer over an object.

EventMouseUp

VBScript action callback procedure run when a user releases the Left mouse button up over an object.