4D v16.3FORM SET HORIZONTAL RESIZING |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
FORM SET HORIZONTAL RESIZING
|
FORM SET HORIZONTAL RESIZING ( resize {; minWidth {; maxWidth}} ) | ||||||||
Parameter | Type | Description | ||||||
resize | Boolean |
![]() |
True: The form can be resized horizontally False: The form cannot be resized horizontally | |||||
minWidth | Longint |
![]() |
Smallest form width allowed (pixels) | |||||
maxWidth | Longint |
![]() |
Largest form width allowed (pixels) | |||||
The FORM SET HORIZONTAL RESIZING command allows you to change the horizontal 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 horizontally; in other words, if the width can be changed (manually by the user or through programming).
If you pass True, the form width can be modified by the user; 4D uses values passed in minWidth and maxWidth as markers.
If you pass False, the current form width cannot be changed; in this case, there is no need to pass values in the minWidth and maxWidth parameters.
If you passed True in the first parameter, you can pass new minimum and maximum widths (in pixels) in the optional minWidth and maxWidth parameters. If you leave these parameters out, the values set in the Design environment (if any) are used.
Refer to the example of the FORM SET SIZE command.
FORM GET HORIZONTAL RESIZING
FORM SET SIZE
FORM SET VERTICAL RESIZING
Product: 4D
Theme: Forms
Number:
892
Created: 4D 2004
Renamed: 4D v12
4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)