[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TControlScrollBar

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Control Scroll Bar

Declaration

Source position: forms.pp line 82

type TControlScrollBar = class(TPersistent)

protected

  FControl: TWinControl;

  

  function ControlAutoScroll; virtual;

  

  function ControlHandle; virtual;

  

  function GetIncrement; virtual;

  

  function GetPage; virtual;

  

  function GetPosition; virtual;

  

  function GetRange; virtual;

  

  function GetSize; virtual;

  

  function GetSmooth; virtual;

  

  function GetVisible; virtual;

  

  function HandleAllocated; virtual;

  

  function SmoothIsStored; virtual;

  

  function VisibleIsStored; virtual;

  

  procedure AutoCalcRange; virtual;

  

  procedure ControlUpdateScrollBars; virtual;

  

  procedure ScrollHandler();

  

  procedure SetIncrement(); virtual;

  

  procedure SetPage(); virtual;

  

  procedure SetPosition(); virtual;

  

  procedure SetRange(); virtual;

  

  procedure SetSize(); virtual;

  

  procedure SetSmooth(); virtual;

  

  procedure SetVisible(); virtual;

  

  procedure UpdateScrollBar; virtual;

  

  procedure InvalidateScrollInfo;

  

public

  constructor Create();

  

Create an instance of a Scroll Bar Control

  procedure Assign(); override;

  

  function IsScrollBarVisible; virtual;

  

Visibility of scroll bar

  function ScrollPos; virtual;

  

Position of the indicator cursor on the scroll bar

  property Kind: TScrollBarKind; [r]

  

Finds which kind of scroll bar this is: horizontal or vertical

  function GetOtherScrollBar;

  

Finds out details of the other scroll bar

  function GetHorzScrollBar; virtual;

  

GetHorzScrollBar - find the position and properties of the horizontal scroll bar

  function GetVertScrollBar; virtual;

  

GetVertScrollBar - find the position and properties of the vertical scroll bar

  property Size: Integer; [rws]

  

Determine the size of the scroll bar

published

  property Increment: TScrollBarInc; [rw]

  

The size of the scrolling increment

  property Page: TScrollBarInc; [rw]

  

The size of the paging increment for scrolling

  property Smooth: Boolean; [rws]

  

Determine whether smooth scrolling is to be implemented

  property Position: Integer; [rw]

  

Position of the scroll bar

  property Range: Integer; [rw]

  

The range (extent) of the scroll bar

  property Visible: Boolean; [rws]

  

Is the scroll bar visible?

end;

Inheritance

TControlScrollBar

  

Control Scroll Bar

|

TPersistent

|

TObject

Description

Control Scroll Bar: Scroll Bar control for adding to windows. Can be horizontal or vertical.
This is an ancestor class for many form types and classes of windowed controls

The latest version of this document can be found at lazarus-ccr.sourceforge.net.