GET FORM PROPERTIES

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 6.5


GET FORM PROPERTIES ({aTable; }formName; width; height{; numPages{; fixedWidth{; fixedHeight{; title}}}})

ParameterTypeDescription
aTableTableTable of the form or Default table, if omitted
formNameStringName of the form
widthLongintWidth of the form (in pixels)
heightLongintHeight of the form (in pixels)
numPagesLongintNumber of pages in the form
fixedWidthBooleanTrue = Fixed width, False = Variable width
fixedHeightBooleanTrue = Fixed height, False = Variable height
titleTextTitle of the form's window

Description

The GET FORM PROPERTIES command returns the properties of the form formName.

The width and height parameters return the form's width and height in pixels. These values are determined from the form's Default window size properties:

If the form's size is automatic, its width and height are calculated so that all the form's objects are visible, by taking into consideration the horizontal and vertical margins that were defined.

If the form's size is set, its width and height are those manually entered in the corresponding areas.

If the form's size is based on an object, its width and height are calculated in relation to this object's position.

The numPages parameter returns the number of pages in the form, excluding page 0 (zero).

The fixedWidth and fixedHeight parameters indicate if the length and width of the form are resizable (the parameter returns False) or set (the parameter returns True).

The title parameter returns the title of the form's window as it was defined. If no name was defined, the title parameter returns an empty string.

See Also

GET FORM OBJECTS, Open form window, SET FORM SIZE.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next