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

TFrame

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

TFrame - a container for all the other components on a form, or for a group of components within a form

Declaration

Source position: forms.pp line 290

type TFrame = class(TCustomFrame)

public

  constructor Create(); override;

  

Create - constructor for TCustomFrame: performs inherited Create then initialises styles, bounds etc

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 AutoScroll;

  

Does auto-scrolling apply?

  property AutoSize;

  

Whether auto-size is to be used

  property BorderSpacing;

  property ChildSizing;

  property ClientHeight;

  

ClientHeight - determines the height of the client within which the control exists

  property ClientWidth;

  

ClientWidth - determines the width of the client within which the control exists

  property Color;

  

Determine the colour for the current control

  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 Font;

  

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

  property LCLVersion: String; [rws]

  

LCL version string

  property OnClick;

  

Event Handler for mouse click

  property OnConstrainedResize;

  

Event Handler for constrained resize

  property OnContextPopup;

  

Event handler to supply information when a context-sensitive pop-up menu is required

  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 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?

end;

Inheritance

TFrame

  

TFrame - a container for all the other components on a form, or for a group of components within a form

|

TCustomFrame

  

TCustomFrame - the base type for TFrame

|

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.