CREATE PROGRESS


PLBCMP GUI Only

square.png Properties

square.png Events

square.png Methods

square.png Instructions

 

The CREATE PROGRESS statement initializes a PROGRESS object variable. The instruction uses the following format:

 

 

[label]

CREATE

[{parent};]{progress}={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.

progress

Required. The name of a previously defined PROGRESS object variable or pointer to a PROGRESS 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. This object allows a visible indication of a percent completion viewed as a partially filled rectangle.

  2. SETITEM specifies a value between zero and one hundred that indicates the percentage of completion.

  3. GETITEM retrieves the current value of the object.

  4. The percentage value is displayed in the center of the rectangle unless the NOPERCENT property has been used.

  5. 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 POPUPMENU CREATE RADIO