Variable Scoping in Load Events

See Also

In FoxPro 2.6 READ compatibility mode, variables created in the Load event of a form set with WindowType set to 2 or 3 are scoped to the form set and visible to the entire form set, its forms, and controls. Control the visibility of variables created in other form set events or methods by using the PRIVATE, PUBLIC or LOCAL commands.