4D v14.3

FORM SET VERTICAL RESIZING

Home

 
4D v14.3
FORM SET VERTICAL RESIZING

FORM SET VERTICAL RESIZING 


 

FORM SET VERTICAL RESIZING ( resize {; minHeight {; maxHeight}} ) 
Parameter Type   Description
resize  Boolean in True: The form can be resized vertically
False: The form cannot be resized vertically
minHeight  Longint in Smallest form height allowed (pixels)
maxHeight  Longint in Largest form height allowed (pixels)

The FORM SET VERTICAL RESIZING command allows you to change the vertical resizing properties of the current form through programming. By default, these properties are set in the Design environment Form editor. New properties are set for the current process; they are not stored with the form.

The resize parameter lets you set whether the form can be resized vertically; in other words, if the height can be changed (manually by the user or through programming).

If you pass True, the form height can be modified by the user; 4D uses values passed in minHeight and maxHeight as markers.

If you pass False, the current form height cannot be changed; in this case, there is no need to pass values in the minHeight and maxHeight parameters.

If you passed True in the first parameter, you can pass new minimum and maximum heights (in pixels) in the optional minHeight and maxHeight parameters. If you leave these parameters out, the values set in the Design environment (if any) are used.

Example  

Refer to the example of the FORM SET SIZE command.

 
PROPERTIES 

Product: 4D
Theme: Forms
Number: 893

 
HISTORY 

Created: 4D 2004
Renamed: 4D v12

 
SEE ALSO 

FORM GET VERTICAL RESIZING
FORM SET HORIZONTAL RESIZING
FORM SET SIZE

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)

Inherited from : SET FORM VERTICAL RESIZING ( 4D v11 SQL Release 6)