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

TScrollBox

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

Scroll Box: A box with scroll bars

Declaration

Source position: forms.pp line 198

type TScrollBox = class(TScrollingWinControl)

  class procedure WSRegisterClass; override;

  

WSRegisterClass - Register this Class for the current Widget Set

public

  constructor Create(); override;

  

Create - constructor for TScrollingWinControl: performs inherited Create then creates and intiialises the scrollbars

published

  property Align;

  

Used to align the control to the top, bottom, left or right of its client.

  property Anchors;

  

The set of anchor definitions for this control

  property AutoSize;

  

Whether auto-size is to be used

  property AutoScroll;

  

Does auto-scrolling apply?

  property BorderSpacing;

  

Determines the border spacing for this control

  property BiDiMode;

  

BiDiMode - enabling bi-directional writing

  property BorderStyle;

  

BorderStyle - none, or single

  property ChildSizing;

  

Definitions how any child control is to be sized (read/write).

  property ClientHeight;

  property ClientWidth;

  property Constraints;

  

Determine Constraints (max and min height and width) for this control

  property DockSite;

  

Is this a dock site? (read/write, default is False)

  property DragCursor;

  

DragCursor - the style of cursor to be used during the Drag process

  property DragKind;

  

DragKind - what sort of dragging? Drag or Dock

  property DragMode;

  

DragMode - whether manual or automatic

  property Enabled;

  

Whether the control is Enabled (read/write). If not, it usually appears 'greyed-out'

  property Color;

  

Determine the colour for the current control

  property Font;

  

The font to be used for text in this control (read/write).

  property ParentBiDiMode;

  

ParentBiDiMode - does the control follow the BiDiMode settings of its parent?

  property ParentColor;

  

ParentColor - should the control have the same colour as the parent? Default is true

  property ParentFont;

  

ParentFont - should the control use the same font as the parent? Default is true

  property ParentShowHint;

  

ParentShowHint - does the control adopt the same hinting behaviour as its parent? Default is true

  property PopupMenu;

  

PopupMenu - a context-sensitive menu that pops up when the right mouse button is clicked over this control

  property ShowHint;

  

Flag to determine: Is hint to be displayed for this control?

  property TabOrder;

  

The place this control occupies in the list of tabs

  property TabStop;

  

Is the control in the sequence of controls accessed by successive presses of the Tab key?

  property Visible;

  

Visible - can the control be seen?

  property OnClick;

  

Event Handler for mouse click

  property OnConstrainedResize;

  

Event Handler for constrained resize

  property OnDblClick;

  

Event Handle for mouse double-click

  property OnDockDrop;

  

Event handler for the drop of a control to be docked.

  property OnDockOver;

  

Event handler for moves of a control over this docksite.

  property OnDragDrop;

  

Event handler for the drop of a control onto this control.

  property OnDragOver;

  

Event handler for the case when a control is dragged over another control

  property OnEndDock;

  

Event handler for the end of a docking operation

  property OnEndDrag;

  

Event handler for the end of a dragging process

  property OnEnter;

  

OnEnter - event handler for when the mouse enters the control, and the control receives focus

  property OnExit;

  

OnExit - event handler for when the mouse leaves the control and it loses focus

  property OnGetSiteInfo;

  

OnGetSiteInfo - event handler for finding out information about the (docking) site

  property OnMouseDown;

  

Event handler for when a mouse button is pressed down

  property OnMouseEnter;

  property OnMouseLeave;

  property OnMouseMove;

  

Event handler for mouse movement within the current control

  property OnMouseUp;

  

Event handler for when the mouse button is released, ie "up"

  property OnMouseWheel;

  

OnMouseWheel - event handler for a movement of the mouse wheel

  property OnMouseWheelDown;

  

OnMouseWheelDown - event handler for downward movement of mouse wheel

  property OnMouseWheelUp;

  

OnMouseWheelUp - event handler for upward movement of mouse wheel

  property OnResize;

  

Event Handler for resize of control

  property OnStartDock;

  

Event handler for the start of a docking operation

  property OnStartDrag;

  

Event handler for start of dragging operation

  property OnUnDock;

  

Event handler for control becoming disconnected (undocked) from parent.

  property OnPaint;

  

Event handler for painting

end;

Inheritance

TScrollBox

  

Scroll Box: A box with scroll bars

|

TScrollingWinControl

  

TScrollingWinControl - a class of Window Control that has one or more scroll bars

|

TCustomControl

  

TCustomControl - a base class for many window controls

|

TWinControl

|

TControl

|

TLCLComponent

  

TLCLComponent - base class for LCL components

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

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