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

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

  
Appendix A: QOUTLINE
Rapid-Q Documentation by William Yu (c)1999 Appendix A: QOUTLINE


QOUTLINE Component

QOutLine implements the old style Win3.1 tree view.

QOutLine Properties
FieldTypeR/WDefault




AlignINTEGERRWalNone
BMPClosedSTRINGW
BMPLeafSTRINGW
BMPMinusSTRINGW
BMPOpenSTRINGW
BMPPlusSTRINGW
BMPHandleClosedRESOURCEW
BMPHandleLeafRESOURCEW
BMPHandleMinusRESOURCEW
BMPHandleOpenRESOURCEW
BMPHandlePlusRESOURCEW
BorderStyleINTEGERRWbsSingle
ColorINTEGERRW
CursorINTEGERRWcrDefault
EnabledINTEGERRWTrue
FontQFONTW
HandleINTEGERR
HeightINTEGERRW
HintSTRINGRW
ItemARRAY of STRINGRW
ItemHeightINTEGERRW13
ItemIndexINTEGERRW
ItemSeparatorSTRINGRW\
LeftINTEGERRW0
LineCountINTEGERRW
OutLineStyleINTEGERRWosTreePictureText
ParentQFORM/QPANEL/QTABCONTROLW
PopupMenuQPOPUPMENUW
RowINTEGERRW
ScrollBarsINTEGERRWssBoth
ShowHintINTEGERRWFalse
TabOrderINTEGERRW
TagINTEGERRW
TopINTEGERRW0
VisibleINTEGERRWTrue
WidthINTEGERRW

QOutLine Methods
MethodTypeDescriptionParams




AddChildSUB (Index%, String$)Add child at Index%2
AddLinesSUBIAdd lines to OutlineSTRING, Infinite
AddOptionsSUBIAdd Outline optionsINTEGER, Infinite
ClearSUBClear all items0
DelLinesSUBIDelete lines from OutlineINTEGER, Infinite
DelOptionsSUBIDelete Outline optionsINTEGER, Infinite
InsertSUB (Index%, String$)Insert node at Index%2

QOutLine Events
EventTypeOccurs when...Params




OnClickVOIDUser clicked on item0
OnDblClickVOIDUser double clicked on item0


QOutLine Examples
CREATE Form AS QForm
  CREATE OutLine AS QOutLine
    AddLines "Parent 1", _
             " Child of Parent 1", _
             "  Child of Child of Parent 1", _
             "Parent 2", _
             "Parent 3", _
  END CREATE
  Center
  ShowModal
END CREATE

Prev Component Contents Next Component
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2024-4-25  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2015-12-25 19:42:43