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

TMemoScrollbar

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

A scrollbar for use in Memo controls.

Declaration

Source position: stdctrls.pp line 884

type TMemoScrollbar = class(TControlScrollBar)

protected

  function GetHorzScrollBar; override;

  

Gets the HorzScrollBar in the associated memo control.

  function GetVertScrollBar; override;

  

Gets the VertScrollBar in the associated memo control.

public

  property Increment: TScrollBarInc;

  

Number of pixels the display area is scrolled for scroll bar or mouse wheel movements.

  property Page: TScrollBarInc;

  

Number of pixels needed for a page on the associated control.

  property Smooth: Boolean;

  

Enables smooth scrolling, with automatic adjustment of Increment and Page.

  property Position: Integer;

  

Position of the scroll bar slider in the range 0..Range-Page.

  property Range: Integer;

  

The size of the logical display area on the associated control for the scroll bar orientation.

  property Size: Integer;

  

Height or width for the scroll bar.

  property Visible: Boolean;

  

Hides the scroll bar when False (default True).

end;

Inheritance

TMemoScrollbar

  

A scrollbar for use in Memo controls.

|

TControlScrollBar

  

Scroll bar type used in TScrollingWinControl.

|

TPersistent,IFPObserved

|

TObject

Description

TMemoScrollbar is a scrollbar specifically for use with TMemo controls. It provides overridden GetHorzScrollBar and GetVertScrollBar methods used to access the individual scrollbars in the associated TCustomMemo/TMemo control. TMemoScrollbar inherits its properties from its ancestor, TControlScrollBar.

See also

TCustomMemo

  

The base class for multi-line text controls.

TMemo

  

Control used to display and edit multi-line text.

TControlScrollBar

  

Scroll bar type used in TScrollingWinControl.


Version 3.2 Generated 2024-02-25 Home