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


QSCROLLBOX Компонент

QScrollBox is a scrolling window control.

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




AlignINTEGERRWalNone
Align определяет как компонент располагается на родительской форме
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 Методы
МетодТипОписаниеПараметры




RepaintSUBRepaint control0

QScrollBox События
СобытиеТипПроисходит когда...Параметры




OnClickVOIDПользователь кликнул on scrollbox0
OnDblClickVOIDДвойной клик on scrollbox0
OnMouseDownSUB (Button%, X%, Y%, Shift%)Нажатие кнопки мыши4
OnMouseMoveSUB (X%, Y%, Shift%)Движение мыши3
OnMouseUpSUB (Button%, X%, Y%, Shift%)Кнопка мыши отпущена4
OnResizeVOIDScrollbox is resized0


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

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