@...PROGRESSBAR / DEFINE PROGRESSBAR
Creates a ProgressBar control

 

 

 

Standard Syntax (xBase Style):

 

 

      @ <nRow> ,<nCol>

            PROGRESSBAR<ControlName>

            [ OF | PARENT <ParentWindowName> ]

            RANGE <nRangeMin> , <nRangeMax>

            [ WIDTH <nWidth> ]

            [ HEIGHT <nHeight> ] 

            [ TOOLTIP <cToolTipText> ]

            [ VERTICAL ]

            [ SMOOTH ]  

            [ HELPID <nHelpId> ]

            [ BACKCOLOR <aBackColor> ]

            [ FORECOLOR <aForeColor> ]

 

 

Alternate Syntax:

 

 

      DEFINE PROGRESSBAR

            PARENT <ParentWindowName>

            ROW <nValue

            COL <nValue>

            WIDTH <nValue>

            HEIGHT <nValue>

            RANGEMAX <nRangeMax>

            RANGEMIN <nRangeMin>

            TOOLTIP <cToolTipText>

            VERTICAL <lValue>

            SMOOTH <lValue>

            HELPID <nHelpId>

            BACKCOLOR <aBackColor>

            FORECOLOR <aForeColor>

      END PROGRESSBAR

 

 

Properties:

 

 

      - Value

      - Enabled

      - Visible

      - Row

      - Col

      - Width

      - RangeMax

      - RangeMin

      - BackColor

      - ForeColor

      - Name (R)

      - Parent (D)

      - Vertical (D)

      - Smooth (D)

      - HelpId (D)

 

      D: Available at control definition only

      R: Read-Only

 

 

Methods:

 

 

      - Show

      - Hide

      - Release

 

 

Hints:

 

 

- The minimum value in the range can be from 0 to 65,535. Likewise, the

        maximum value can be from 0 to 65,535

 

- SMOOTH, BACKCOLOR & FORECOLOR properties works only for 'Windows Classic' / 'Windows Standard' themes.

  

 

 

# New command for ProgressBar Control

 

-    Use this command when you do not know the amount of progress toward completion

but wish to indicate that progress is being made.

 

-    SET PROGRESSBAR ControlName OF FormName ENABLE MARQUEE [ UPDATED MilliSeconds ]

-    SET PROGRESSBAR ControlName OF FormName DISABLE MARQUEE