Resize Object Foundation Class

Category User Interface
Default Catalog Visual FoxPro Catalog\Foundation Classes\User Controls
Class _resizable
Base Class Custom
Class Library _controls.vcx
Parent Class _custom
Sample ...\Samples\Solution\Forms\cresize.scx

Remarks

This class causes objects dropped onto a form to resize and move with the Form's Resize event.

To use, drop the class on a project or form or, from the Component Gallery Item Shortcut Menu, select Add to Project or Add to Form. When you add the class to a form, specify the AdjustControls method in the Resize event of the controls on the form. When you drop the class on a project, you can choose between adding the class or creating a subclass.

Properties, Events, Methods Description
InitialResize property Specifies whether controls have been
adjusted before.
Default: .T.
AdjustControls method Adjusts the placement and size of
contained objects after a Resize event.
Syntax: AdjustControls( )
Return: none
Arguments: none
Reset method Resets the Timer control so that it starts
counting from 0.
Syntax: Reset( )
Return: none
Arguments: none
InitialFormHeight property Internal to the class.
InitialFormWidth property Internal to the class.
aControlStats[1,5] property Internal to the class.
AddToArray method Internal to the class.
SetSize method Internal to the class.
LoopThroughControls method Internal to the class.

See Also

Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Foundation Class Samples