Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.18 AutoSize Property

Description:

Indicates whether the length of the list box should be determined by the number of items to be listed.

Used in control(s):

ComboBox

DriveList

Values (with constants):

True:The length is set automatically.(POW-TRUE)

False:The length of the list is set at design time.(POW-FALSE)

When AutoSize is set to True, the maximum number of items displayed in the list box is from four to six. The number of items depends on the value of the Size property of the Font object.

For the ComboBox control, it is only effective when the Style property is "1 - DropDown" or "2 - DropDownList".

Default value:

False (POW-FALSE)

COBOL picture:

S9(4) COMP-5

OLE data type:

VT_BOOL

Design time access:

Set and reference.

Execution time access:

Reference only.

Backward compatibility attribute:

None.