formSize

The formSize property specifies the dimensions of the form. The property must contain an array of two positive integers: the number of lines followed by the number of columns. The column value represents the number of single-byte characters that can be displayed across the presentation area for the device.

No default values are available for this property.

If either dimension exceeds the size of the presentation area for the device, the form size is reduced to fit the available dimensions. In the case of Console UI, the program ends if a console field cannot fit into the window.

Example

The following example shows a formSize property that defines a form with 24 lines of 80 characters each.
formSize = [24, 80]

Feedback