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
Field | Type | R/W | Default |
|
|
|
|
Align | INTEGER | RW | alNone |
BMPClosed | STRING | W | |
BMPLeaf | STRING | W | |
BMPMinus | STRING | W | |
BMPOpen | STRING | W | |
BMPPlus | STRING | W | |
BMPHandleClosed | RESOURCE | W | |
BMPHandleLeaf | RESOURCE | W | |
BMPHandleMinus | RESOURCE | W | |
BMPHandleOpen | RESOURCE | W | |
BMPHandlePlus | RESOURCE | W | |
BorderStyle | INTEGER | RW | bsSingle |
Color | INTEGER | RW | |
Cursor | INTEGER | RW | crDefault |
Enabled | INTEGER | RW | True |
Font | QFONT | W | |
Handle | INTEGER | R | |
Height | INTEGER | RW | |
Hint | STRING | RW | |
Item | ARRAY of STRING | RW | |
ItemHeight | INTEGER | RW | 13 |
ItemIndex | INTEGER | RW | |
ItemSeparator | STRING | RW | \ |
Left | INTEGER | RW | 0 |
LineCount | INTEGER | RW | |
OutLineStyle | INTEGER | RW | osTreePictureText |
Parent | QFORM/QPANEL/QTABCONTROL | W | |
PopupMenu | QPOPUPMENU | W | |
Row | INTEGER | RW | |
ScrollBars | INTEGER | RW | ssBoth |
ShowHint | INTEGER | RW | False |
TabOrder | INTEGER | RW | |
Tag | INTEGER | RW | |
Top | INTEGER | RW | 0 |
Visible | INTEGER | RW | True |
Width | INTEGER | RW | |
QOutLine Methods
Method | Type | Description | Params |
|
|
|
|
AddChild | SUB (Index%, String$) | Add child at Index% | 2 |
AddLines | SUBI | Add lines to Outline | STRING, Infinite |
AddOptions | SUBI | Add Outline options | INTEGER, Infinite |
Clear | SUB | Clear all items | 0 |
DelLines | SUBI | Delete lines from Outline | INTEGER, Infinite |
DelOptions | SUBI | Delete Outline options | INTEGER, Infinite |
Insert | SUB (Index%, String$) | Insert node at Index% | 2 |
QOutLine Events
Event | Type | Occurs when... | Params |
|
|
|
|
OnClick | VOID | User clicked on item | 0 |
OnDblClick | VOID | User double clicked on item | 0 |
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
|
|