Sign in Join
FPDoc Onlineexperiment

TMemoScrollbar class

In unit StdCtrls

A scrollbar for use in Memo controls.

Declaration

pascal
TMemoScrollbar = class(TControlScrollBar)

Inheritance

  1. TMemoScrollbar
  2. TControlScrollBar
  3. TPersistent
  4. 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

Properties

IncrementpublicNumber of pixels the display area is scrolled for scroll bar or mouse wheel movements.
PagepublicNumber of pixels needed for a page on the associated control.
SmoothpublicEnables smooth scrolling, with automatic adjustment of Increment and Page.
PositionpublicPosition of the scroll bar slider in the range 0..Range-Page.
RangepublicThe size of the logical display area on the associated control for the scroll bar orientation.
SizepublicHeight or width for the scroll bar.
VisiblepublicHides the scroll bar when False (default True).

Methods

GetHorzScrollBarprotectedGets the HorzScrollBar in the associated memo control.
GetVertScrollBarprotectedGets the VertScrollBar in the associated memo control.

Inherited

From TControlScrollBar (34)

Assign ClientSize ClientSizeWithBar ClientSizeWithoutBar ControlHandle ControlSize ControlUpdateScrollBars Create GetAutoScroll GetIncrement GetOtherScrollBar GetPage GetPosition GetRange GetSize GetSmooth HandleAllocated InternalSetRange InvalidateScrollInfo IsRangeStored IsScrollBarVisible Kind ScrollBarShouldBeVisible ScrollHandler ScrollPos SetIncrement SetPage SetPosition SetRange SetSmooth SetTracking SetVisible Tracking UpdateScrollBar

From TPersistent (8)

AssignTo DefineProperties Destroy FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.