Load Event

Occurs just before an object is created.

PROCEDURE Object.Load

Remarks

Applies To: Form | FormSet

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.

See Also

Reference

Activate Event (Visual FoxPro)

GotFocus Event

Unload Event

Other Resources

Events (Visual FoxPro)