Appendix A: QStatusBarEx
Documentation component by D.Glodt (c)2003 |
Appendix A: QStatusBarEx |
|
QStatusBarEx Component
QStatusBarEx is identical as QStatusBar
with addition of QPanel components in order to be able to post images
or other components.
It is necessary to use the AddPanel
method before adding a QPanel component.
QStatusBarEx Property
QStatusBarEx Methods
Method |
Type |
Description |
Params |
|
|
|
|
|
AddOptPanel |
SUB(QPANEL,index&) |
Add a QPanel component in an existing panel, the parameter
index& determines the position
in the bar when several panel were added, a value 0 corresponds to
the first
panel of the bar.
The Height property of the QPanel component must be lower at the Height
property of the bar. |
2 |
QStatusBarEx Events
Event |
Type |
Occurs when... |
Params |
|
|
|
|
|
QStatusBarEx Examples
$TYPECHECK ON
$resource BM_OPEN as "open.bmp"
$include "Object\QStatusBarEx.inc"
CREATE Form AS QFORM
Caption="Form1"
Width=400
Height=240
Center
CREATE Panel as QPANEL
CREATE img as QIMAGE
bmpHandle=BM_OPEN
END CREATE
END CREATE
CREATE StatusBar1 AS QSTATUSBAREX
height=20
AddPanels "","","",""
Panel(0).Width=100
Panel(1).Width=100
Panel(2).Width=100
AddOptPanel Panel,1
END CREATE
END CREATE
Form.ShowModal
|