◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── UNLOAD {form | ctlname[index%]} Usage Notes ■ Unloading a form or control frees memory and resets properties to their original value. ■ When a form is unloaded, all controls placed on the form at run time are no longer accessible. Controls placed on the form at design time remain intact, although any run-time changes to those controls and their properties are lost when the form is reloaded. All changes to form properties are also lost. ■ Control array elements added to a form at run time can only be removed with the UNLOAD statement. The properties of unloaded controls are reinitialized when the controls are reloaded. ■ When a modal form is unloaded, program execution returns to the point in code where the SHOW method was used to display the modal form. See: ◄Modal Vs. Modeless► ◄SHOW Method► ■ Referencing a control on a form that has been unloaded causes the form to be reloaded.