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

TScrollingWinControl

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

Scrolling Window Control

Declaration

Source position: forms.pp line 146

type TScrollingWinControl = class(TCustomControl)

protected

  property AutoScroll: Boolean; [rw]

  

Does auto-scrolling apply?

  procedure AlignControls(); override;

  

  procedure CreateWnd; override;

  

  function GetClientScrollOffset; override;

  

  function GetLogicalClientRect; override;

  

  procedure DoOnResize; override;

  

  function GetControlClassDefaultSize; override;

  

  procedure WMHScroll(); message;

  

  procedure WMVScroll(); message;

  

  procedure ScrollBy();

  

  function ComputeScrollbars; virtual;

  

  procedure ScrollbarHandler(); virtual;

  

  procedure Loaded; override;

  

public

  constructor Create(); override;

  

Create an instance of a scrolling window control

  destructor Destroy; override;

  

Destroy this instance of scrolling window control, and free its resources

  procedure UpdateScrollbars;

  

Update the position of the scroll indicatores in the scroll bars

  function HasVisibleScrollbars; virtual;

  

Whether the scroll bars are visible

published

  property HorzScrollBar: TControlScrollBar; [rws]

  

The properties of the horizontal scroll bar

  property VertScrollBar: TControlScrollBar; [rws]

  

The properties of the vertical scroll bar

end;

Inheritance

TScrollingWinControl

  

Scrolling Window Control

|

TCustomControl

  

TCustomControl - a base class for many window controls

|

TWinControl

  

The base class for all windowed controls

|

TControl

  

TControl - the main ancestor class for visual controls.

|

TLCLComponent

?

TObject

Description

Scrolling Window Control: A window control with scroll bars.
An ancestor class for many forms with scrolling windows

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