Progress Bar Control

This document covers the following topics:


Description

A progress bar control is used to indicate the progress made during a time-consuming task.

The progress bar's range is defined by the control's MIN (no bar visible) and MAX (bar covers full extent of control) attribute values. The current extent of the progress bar is determined via the POSITION attribute, which must be an integer within the defined range. The smaller the range, the higher the granularity and the less accurately the progress may be specified. In order to effectively use the control, the range must be non-zero.

Attributes for Progress Bar Control

Attribute Name Query Set/Modify In Attr. Window
BACKGROUND-COLOUR-NAME X X/X X
BACKGROUND-COLOUR-VALUE X X/X X
CLIENT-DATA X X/X  
CLIENT-HANDLE X X/X  
CLIENT-KEY X X/X  
CLIENT-VALUE X X/X  
CONTEXT-MENU X X/X X
ENABLED X X/X X
FIRST-CHILD X -/-  
FOLLOWS X X/X  
FOREGROUND-COLOUR-NAME X X/X X
FOREGROUND-COLOUR-VALUE X X/X X
LAST-CHILD X -/-  
MAX X X/X X
MIN X X/X X
OWNER X X/-  
PARENT X X/-  
POSITION X X/X X
PREDECESSOR X -/-  
RECTANGLE-H X X/X X
RECTANGLE-W X X/X X
RECTANGLE-X X X/X X
RECTANGLE-Y X X/X X
STYLE X X/- X
SUCCESSOR X X/-  
SUPPRESS-CONTEXT-MENU-EVENT X X/X  
TYPE X X/-  
VISIBLE X X/X X

Events

Context-Menu Event (may be suppressed).