This class causes objects dropped onto a form to resize and move with the Form's Resize event.
| 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
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:
Return: none Arguments: none |
|
Reset method |
Resets the Timer control so that it starts counting from 0.
Syntax:
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. |
js editor
Web development