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

Register 
新用户注册
Search 搜索
首页 
Home Home
Software
Upload

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


QSCROLLBOX Component

QScrollBox is a scrolling window control.

QScrollBox Properties
FieldTypeR/WDefault




AlignINTEGERRWalNone
Align determines how the control aligns within its parent control.
AutoScrollINTEGERRWTrue
AutoScroll specifies whether scrollbars appear automatically on the scrolling windowed control if it is not large enough to display all of its controls.
BorderStyleINTEGERRWbsSingle
ColorINTEGERRW
CursorINTEGERRWcrDefault
EnabledINTEGERRWTrue
FontQFONTW
HandleINTEGERR
HeightINTEGERRW
HintSTRINGRW
HorzIncrementINTEGERRW8
HorzIncrement determines how far the display moves when the user clicks one of the small end arrows on the scrollbar.
HorzMarginINTEGERRW0
HorzMargin specifies the minimum number of pixels that must separater each control from the edge of the scrollbox.
HorzPositionINTEGERRW0
HorzPosition specifies the position of the thumb tab on the scrollbar.
HorzRangeINTEGERRW0
HorzRange determines how far the scrollbox can move.
HorzTrackingINTEGERRWFalse
HorzTracking determines whether the scrollbox moves before the thumb tab is released.
HorzVisibleINTEGERRWTrue
LeftINTEGERRW0
ParentQFORM/QPANEL/QTABCONTROLW
PopupMenuQPOPUPMENUW
ShowHintINTEGERRWFalse
TabOrderINTEGERRW
TagINTEGERRW
TopINTEGERRW0
WidthINTEGERRW
VertIncrementINTEGERRW8
VertMarginINTEGERRW0
VertPositionINTEGERRW0
VertRangeINTEGERRW0
VertTrackingINTEGERRWFalse
VertVisibleINTEGERRWTrue
VisibleINTEGERRWTrue

QScrollBox Methods
MethodTypeDescriptionParams




RepaintSUBRepaint control0

QScrollBox Events
EventTypeOccurs when...Params




OnClickVOIDUser clicked on scrollbox0
OnDblClickVOIDUser double clicked on scrollbox0
OnMouseDownSUB (Button%, X%, Y%, Shift%)Mouse button held down4
OnMouseMoveSUB (X%, Y%, Shift%)Mouse moves3
OnMouseUpSUB (Button%, X%, Y%, Shift%)Mouse button is released4
OnResizeVOIDScrollbox is resized0


QScrollBox Examples
CREATE Form AS QForm
  Center
  CREATE ScrollBox AS QScrollBox
    Left = 50
    CREATE Button AS QButton   '-- Create button inside scrollbox
    END CREATE
  END CREATE
  ShowModal
END CREATE

Prev Component Contents Next Component
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sun 2017-9-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2015-12-25 19:42:47