Guidance
指路人
g.yi.org
software / rapidq / Examples / QObject / Object / QStatusBarEx.html

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
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

Field Type R/W Défault





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
 
 
 

掌柜推荐
 
 
¥860.00 ·
 
 
¥900.00 ·
 
 
¥810.00 ·
 
 
¥317.00 ·
 
 
¥1,370.00 ·
 
 
¥660.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2003-02-04 20:02:30