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


QOUTLINE Компонент

QOutLine implements the old style Win3.1 tree view.

QOutLine Свойства
ПолеТипR/WПо умолчанию




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 Методы
МетодТипОписаниеПараметры




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 События
СобытиеТипПроисходит когда...Параметры




OnClickVOIDПользователь кликнул on item0
OnDblClickVOIDДвойной клик on item0


QOutLine Примеры
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

Предыдущий Компонент Содержание Следующий Компонент