Load Event

Applies To   See Also

Occurs just before an object is created.

Syntax

PROCEDURE Object.Load
[LPARAMETERS nIndex]

Parameters

nIndex

Uniquely identifies a control if it is in a control array.

Remarks

The Load event occurs first for the form set and then for the contained forms. The Load event occurs before the Activate and GotFocus events.

To prevent a form from being created, return false (.F.) from the Load event; the Destroy event will not be executed.