Guidance
指路人
g.yi.org
software / RapidQ / RQ Doc / html / qstatusbar.html

Register 
新用户注册
Search 搜索
首页 
Home Home
Software
Upload

  
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
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
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2017-9-21  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2015-12-25 19:42:47