Appendix A: QSTATUSBAR
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
Field | Type | R/W | Default |
|
|
|
|
Align | INTEGER | RW | alBottom |
| Align determines how the control aligns within its parent control.
|
Cursor | INTEGER | RW | crDefault |
Enabled | INTEGER | RW | True |
Handle | INTEGER | R | |
Height | INTEGER | RW | |
Hint | STRING | RW | |
Left | INTEGER | RW | 0 |
Panel | ARRAY of PanelType | RW | |
Parent | QFORM/QPANEL/QTABCONTROL | W | |
PopupMenu | QPOPUPMENU | W | |
ShowHint | INTEGER | RW | False |
SimplePanel | INTEGER | RW | False |
| SimplePanel determines whether the statusbar displays a single panel or multiple panels.
|
SimpleText | STRING | RW | |
| SimpleText contains the string that is displayed in the statusbar when SimplePanel is true.
|
SizeGrip | INTEGER | RW | True |
| SizeGrip determines whether the statusbar is resizable at runtime.
|
TabOrder | INTEGER | RW | |
Top | INTEGER | RW | 0 |
Width | INTEGER | RW | |
Visible | INTEGER | RW | True |
QStatusBar Methods
Method | Type | Description | Params |
|
|
|
|
AddPanels | SUBI | Add panels to status bar | STRING, Infinite |
Clear | SUB | Clear panels | 0 |
QStatusBar Events
Event | Type | Occurs when... | Params |
|
|
|
|
OnResize | VOID | Status bar is being resized | 0 |
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
|
|