CREATE CHECKGRP


PLBCMP GUI Only

square.png Properties

square.png Events

square.png Instructions

 

The CREATE CHECKGRP statement initializes a CHECKGRP object variable. The statement format is:

 

 

[label]

CREATE

[{parent};]{checkgrp}={pos},{data}[,{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.

checkgrp

Required. The name of a previously defined CHECKGRP object variable or pointer to a CHECKGRP object.

pos

Required. The screen position of the object given as: {top}:{bottom}:{left}:{right}.

data

Required. A Character String Variable or Literal defining the names of the controls in the CHECKGRP.

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. The {data} operand must contain a list of names of the controls. Each name is separated from the preceding name by a semicolon. Item numbers for the check boxes are assigned sequentially to the names starting with one.

  3. When the cursor is in a CHECKGRP, the UP, DOWN, LEFT, and RIGHT arrow keys cause the cursor to move between the various check boxes of the group.

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

 

 

See Also: Example Code, CREATE, Object Output Instructions

 



PL/B Language Reference CREATE CHECKBOX CREATE COLOR