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

QSTATUSBAR Component

QStatusBar implements a Windows status bar.

QStatusBar Internal Types
   TYPE PanelType           '' ie. StatusBar.Panel(0).Caption
     Alignment AS INTEGER   '' Specifies the text alignment, default is taLeftJustify
     Caption AS STRING
     Width AS INTEGER
   END TYPE
QStatusBar Properties
FieldTypeR/WDefault
AlignINTEGERRWalBottom
Align determines how the control aligns within its parent control.
CursorINTEGERRWcrDefault
EnabledINTEGERRWTrue
HandleINTEGERR
HeightINTEGERRW
HintSTRINGRW
LeftINTEGERRW0
PanelARRAY of PanelTypeRW
ParentQFORM/QPANEL/QTABCONTROLW
PopupMenuQPOPUPMENUW
ShowHintINTEGERRWFalse
SimplePanelINTEGERRWFalse
SimplePanel determines whether the statusbar displays a single panel or multiple panels.
SimpleTextSTRINGRW
SimpleText contains the string that is displayed in the statusbar when SimplePanel is true.
SizeGripINTEGERRWTrue
SizeGrip determines whether the statusbar is resizable at runtime.
TabOrderINTEGERRW
TopINTEGERRW0
WidthINTEGERRW
VisibleINTEGERRWTrue


QStatusBar Methods
MethodTypeDescriptionParams
AddPanelsSUBIAdd panels to status barSTRING, Infinite
ClearSUBClear panels0

QStatusBar Events
EventTypeOccurs when...Params
OnResizeVOIDStatus bar is being resized0


QStatusBar Examples
CREATE Form AS QForm
  Center
  CREATE StatusBar AS QStatusBar
    AddPanels "Panel 1", "Panel 2", "Panel 3"
    Panel(1).Width = 100  ' change width of Panel 2
  END CREATE
  ShowModal
END CREATE

Prev Component Contents Next Component
Hosted by uCoz
D>
Hosted by uCoz