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
D>