Rapid-Q Documentation by William Yu (c)1999-2000 Appendix A: QGAUGE

QGAUGE Component

QGauge is a sophisticated progress monitor. Used visually to give users the progress of an operation.

QGauge Properties
FieldTypeR/WDefault
AlignINTEGERRWalNone
Align determines how the control aligns within its parent control.
BackColorINTEGERRWclWhite
BackColor specifies the background color of the component.
BorderStyleINTEGERRWbsSingle
  '-- Border Styles
CONST bsNone = 0 '-- No visible border line, Not resizeable
CONST bsSingle = 1 '-- Single-line border, Not resizeable
CONST bsSizeable = 2 '-- Standard resizeable border
CONST bsDialog = 3 '-- Dialog, not resizeable
CONST bsToolWindow = 4 '-- like bsSingle but with a smaller caption
CONST bsSizeToolWin = 5 '-- like bsSizeable with a smaller caption
 
ColorINTEGERRW
CursorINTEGERRWcrDefault
EnabledINTEGERRWTrue
FontQFONTW
ForeColorINTEGERRW
ForeColor specifies the color of the progress meter.
HeightINTEGERRW
HintSTRINGRW
KindINTEGER
CONST gkText = 0
CONST gkHorizontalBar = 1
CONST gkVerticalBar = 2

CONST gkPie = 3      us0c0230.jpg
CONST gkNeedle = 4us0affd8.gif
 
RWgkHorizontalBar
LeftINTEGERRW
MaxINTEGERRW100
MinINTEGERRW0
ParentQFORM/QPANEL/QTABCONTROLW
PositionINTEGERRW0
ShowHintINTEGERRWFalse
ShowTextINTEGERRWTrue
ShowText determines whether the progress text (as a percent) should be displayed.
TopINTEGERRW
VisibleINTEGERRWTrue
WidthINTEGERRW

QGauge Examples
$INCLUDE "RAPIDQ.INC"

CREATE Form AS QForm
  Center
  CREATE Gauge AS QGauge
    Position = 20
    Kind = gkPie
  END CREATE
  ShowModal
END CREATE

Prev Component Contents Next Component
Hosted by uCoz