| Rapid-Q Documentation by William Yu (c)1999-2000 | Appendix A: QSPLITTER |
| Field | Type | R/W | Default |
| Align | INTEGER | RW | alLeft |
| Align determines how the control aligns within its parent control. | |||
| Beveled | INTEGER | RW | True |
| Beveled determines whether the splitter looks beveled along the edge that moves. | |||
| ClientHeight | INTEGER | RW | |
| ClientWidth | INTEGER | RW | |
| Color | INTEGER | RW | |
| Cursor | INTEGER | RW | crHSplit |
| Enabled | INTEGER | RW | True |
| Height | INTEGER | RW | |
| Hint | STRING | RW | |
| Left | INTEGER | RW | |
| MinSize | INTEGER | RW | 30 |
| MinSize is the minimum size, in pixels, of the client area the splitter must leave on the form. | |||
| Parent | QFORM/QPANEL/QTABCONTROL | W | |
| ShowHint | INTEGER | RW | False |
| Tag | INTEGER | RW | |
| Top | INTEGER | RW | |
| Visible | INTEGER | RW | True |
| Width | INTEGER | RW | |
| Method | Type | Description | Params |
| Event | Type | Occurs when... | Params |
| OnMoved | VOID | Splitter Moved | 0 |
$INCLUDE "RAPIDQ.INC"
CREATE Form AS QFORM
Height = 400
Caption = "QSplitter example"
Center
Visible = 1 '-- Required
Visible = 0 '-- trick
CREATE Panel AS QPANEL
Align = alTop '-- Fill top portion of form
Height = 100
Caption = "PANEL"
END CREATE
CREATE Splitter AS QSPLITTER '-- Note position
Align = alTop '-- Fill middle
Cursor = crVSplit
Height = 10
END CREATE
CREATE RichEdit AS QRICHEDIT
Align = alClient '-- Fill rest of form
AddStrings "RICHEDIT"
END CREATE
ShowModal
END CREATE
| Prev Component | Contents | Next Component |