formplacementsaver Save method
Return to Introduction  Previous page  Next page
Applies to
acFormPlacementSaver component.  

procedure Save;  

Saves current form placement (position, size, state) to the system registry. Registry location should be specified by RegKey and RegLocation properties. Saved settings will used to restore form placement on next creation of this form.  
iiinfo This method executes automatically when the form is about to be destroyed, or after every movement (as specified in Options property), if Enabled property is True.  
tip Because of high integration with others AppControls components, the Save method saves even Z order of the form (see Topmost property of the acFormHook component, Topmost property of acFormTopmost and AlwaysOnTop property of the acAppBar for more information).  

See also
Enabled and Options properties;  
Load method.