' Rapid-Q by William Yu (c)1999-2000 . ' ================================================================================ ' Upload_il_tuo_script_su_Rapidq.it ' 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 Field Type R/W Défault ========================== ========================== =========================== =========================== =========================== QStatusBarEx Methods Method Type Description Params =========== =================== ================================================================================================ ====== = AddOptPanel SUB Add a QPanel component in an existing panel, the parameter index& determines the position 2 (QPANEL,index&) 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. 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 ' =============================================================================== ' 2003 Holyguard.net - 2007_Abruzzoweb