CREATE EDITNUMBER


8.7C, PLBCMP GUI Only

square.png Properties

square.png Events

square.png Methods

square.png Instructions

 

The CREATE EDITNUMBER statement initializes an EDITNUMBER object variable. The statement format is:

 

 

[label]

CREATE

[{parent};]{editnumber}={pos}[,{property list}...]

 

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.

edittext

Required. The name of a previously defined EDITNUMBER object variable or pointer to An EDITNUMBER 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:

  1. 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.

  2. For information on how to retrieve information from an EDITNUMBER field during data entry or after the field has been finished, see the ACTIVATE instruction.

  3. If the optional {parent} parameter is not specified, the default window is used.

  4. If neither the INTEGERDIGITS nor the DECIMALDIGITS property is specified, the CREATE will default to an INTEGERDIGITS value of five (5) and a DECIMALDIGITS value of zero (0).

 

 

See Also: Example Code, CREATE, Object Output Instructions

 



PL/B Language Reference CREATE EDITDATETIME CREATE EDITTEXT