EDIT (Dialog Item)


PLBCMP GUI Only

EDIT={top}:{bottom}:{left}:{right}[ [:{attribute}][:{size}] ]

 

The EDIT dialog item creates an editable text object in the enclosing rectangle. {attribute} is an optional control field type that may be one of the following:

 

Type

Allows ...

D or d

entry of digits 0 to 9 plus '-' and '.' characters.

L or l

entry of uppercase or lowercase data entry.

N or n

entry of digits 0 to 9 only.

P or p

entry of any ASCII character and echos an asterisk for each character entered.

R or r

read only. The field may not be changed by the operator.

S or s

no modifications to the field.

U or u

entry of only uppercase data.

Note the following:

  1. {attribute} may contain a second character 'R' or 'r' to denote right justified or 'C' or 'c' to denote center justified for the visual output of the edit field. When GETITEM retrieves a right justified or center justified edit field, the data string retrieved is not justified and does not contain leading blank characters.

  2. {size} is an optional decimal constant that specifies the maximum field size.

  3. If the {attribute} is not specified with the {size}, the colon delimiter is still be required. (i.e., 10:11:20:40::20)

 

 

See Also: DIALOG Items, DIALOG

 



PL/B Language Reference DATALIST (Dialog Item) GROUPBOX (Dialog Item)