TScrollBar

TControl that allows the user to select a position within a range by dragging a bar.

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TBaseObjectA base class for objects that can be used instead of TObject.
3TControlVisual user interface element that can react to user input.
4TScrollBar

Source

UserInterface.Control.Scroll.Bar.pas (40)

Fields

ScopeVisibilityTypeNameDescription
InstanceprivateTScrollModelFModel
InstanceprivateT2dDimensionFDimension
InstanceprotectedT2dDimensionOtherDimension
InstanceprotectedTInteger32SizeButtonSize
InstanceprotectedTInteger32BarSize
InstanceprotectedTInteger32IntervalThumbRange
InstanceprotectedTScrollBarPartDownPart
InstanceprotectedTScrollBarPartHotPart
InstanceprotectedTScrollBarPartPressedPart
InstanceprotectedTInteger32RepeatDelta
InstanceprotectedTInteger32OffsetInThumb
InstanceprotectedTInteger32StartPosition
InstanceprotectedTBooleanDragging
InstanceprotectedTTimerFirstTimer
InstanceprotectedTTimerRepeatTimer

Methods

ScopeVisibilityResultNameDescription
InstanceprivateSetModel(Value: TScrollModel)
InstanceprivateSetDimension(Value: T2dDimension)
InstanceprivateTInteger32ComputeThumbSize()
InstanceprivateTInteger32ComputeThumbPosition(BarSize: TInteger32; ThumbSize: TInteger32)
InstanceprotectedTScrollBarPartPartWithPosition(Position: TInteger32Point)
InstanceprotectedAdjustThumbPosition(Position: TInteger32)
InstanceprotectedHandleDownPart()
InstanceprotectedTButtonStatePartState(Part: TScrollBarPart)
InstanceprotectedPaintButton(Canvas: TCanvas; Bounds: TInteger32Rectangle; State: TButtonState)
InstanceprotectedPaintBackground(Canvas: TCanvas; Bounds: TInteger32Rectangle; State: TButtonState)
InstanceprotectedHandleTimerFired(Timer: TTimer)
InstancepublicCreate()
InstancepublicDestroy()
InstancepublicPaint(Canvas: TCanvas)
InstancepublicTBooleanHandleEvent(Event: TEvent)
InstancepublicTBooleanMouseLeftDown(Event: TMouseButtonEvent)
InstancepublicTBooleanMouseLeftUp(Event: TMouseButtonEvent)
InstancepublicTBooleanMouseMove(Event: TMouseMoveEvent)
InstancepublicTBooleanMouseWheel(Event: TMouseWheelEvent)
InstancepublicTBooleanMouseLeave(Event: TMouseLeaveEvent)
InstancepublicTInteger32SizeGetPreferredSize(AvailableSize: TInteger32Size)