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

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

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


QSPLITTER Component

QSplitter sits between a control aligned to one of the edges of the form and the controls that fill up the rest of the client area. It is used to resize the controls at runtime.

QSplitter Properties
FieldTypeR/WDefault




AlignINTEGERRWalLeft
Align determines how the control aligns within its parent control.
BeveledINTEGERRWTrue
Beveled determines whether the splitter looks beveled along the edge that moves.
ClientHeightINTEGERRW
ClientWidthINTEGERRW
ColorINTEGERRW
CursorINTEGERRWcrHSplit
EnabledINTEGERRWTrue
HeightINTEGERRW
HintSTRINGRW
LeftINTEGERRW
MinSizeINTEGERRW30
MinSize is the minimum size, in pixels, of the client area the splitter must leave on the form.
ParentQFORM/QPANEL/QTABCONTROLW
ShowHintINTEGERRWFalse
TagINTEGERRW
TopINTEGERRW
VisibleINTEGERRWTrue
WidthINTEGERRW


QSplitter Methods
MethodTypeDescriptionParams





QSplitter Events
EventTypeOccurs when...Params




OnMovedVOIDSplitter Moved0


QSplitter Examples
$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
掌柜推荐
 
 
¥860.00 ·
 
 
¥900.00 ·
 
 
¥810.00 ·
 
 
¥317.00 ·
 
 
¥1,370.00 ·
 
 
¥660.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2015-12-25 19:42:47