CREATE DATALIST
PLBCMP GUI Only
The CREATE DATALIST statement initializes a DATALIST object variable. The statement format is:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
parent
Optional. A previously created WINDOW or PANEL object variable or pointer to a WINDOW or PANEL object on which the object is created.
datalist
Required. The name of a previously defined DATALIST object variable or pointer to a DATALIST object.
pos
Required. The screen position of the object given as: {top}:{bottom}:{left}:{right}.
property list
Optional. One or more of the object properties.
Flags Affected: NONE
Note the following:
The {pos} screen coordinates for the object must be given and must be valid. Each of the coordinates may be a Numeric Variable, an Expression, or a decimal constant.
The DATALIST contains no items when the list is created. Items must be added using the INSERTITEM instruction. The items may be added before or after the DATALIST object is made visible on the screen by the ACTIVATE instruction.
The DATALIST maximum size is operating system dependent.
If the optional {parent} parameter is not specified, the default window is used.
See Also: Example Code, CREATE, Object Output Instructions
![]() |