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

TForm

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

Declaration

Source position: forms.pp line 707

type TForm = class(TCustomForm)

protected

  procedure CreateWnd; override;

  

Creates the interface object (widget) and assigns it to Handle.

  procedure Loaded; override;

  

Also renews ActiveControl and Visible.

public

  constructor Create(); override;

  procedure Cascade;

  

Arranges MDI child forms so they overlap.

  procedure Next;

  

Activates the next child MDI form (fsMDIChild) in the form sequence.

  procedure Previous;

  

Activates the previous MDI child form in the form sequence.

  procedure Tile;

  

Arranges MDI child forms side by side.

  property ClientHandle;

  property DockManager;

  

The docking layout manager for this control.

published

  property Action;

  

The Action associated with this control.

  property ActiveControl;

  property Align;

  

Specifies the placement of the control inside its Parent.

  property AllowDropFiles;

  property AlphaBlend;

  property AlphaBlendValue;

  property Anchors;

  

The set of anchor definitions for this control.

  property AutoScroll;

  property AutoSize;

  

Allows to automatically adjust the size of the control, according to its content.

  property BiDiMode;

  

Customization (of text controls) in bidirectional reading environments.

  property BorderIcons;

  property BorderStyle;

  property BorderWidth;

  

Width of the Border around the control; default is zero.

  property Caption;

  

The text describing the control to the user.

  property ChildSizing;

  

Parameters for child control arrangement and spacing.

  property ClientHeight;

  

The height of the client area of the control.

  property ClientWidth;

  

The width of the client area of the control.

  property Color;

  

The background color of the control.

  property Constraints;

  

The minimal and maximal Width and Height of this control.

  property DefaultMonitor;

  property DockSite;

  

Allows to drag-dock other controls into this control.

  property DragKind;

  

The operation when the control is dragged - Drag or Dock.

  property DragMode;

  

Allows the user to drag the control.

  property Enabled;

  

Determines whether the control reacts on mouse or keyboard input.

  property Font;

  

The font to be used for text display in this control.

  property FormStyle;

  property HelpFile;

  property Icon;

  property KeyPreview;

  property Menu;

  property OnActivate;

  property OnChangeBounds;

  

Event handler for a change of the Bounds of the control.

  property OnClick;

  

Notification handler for mouse clicks.

  property OnClose;

  property OnCloseQuery;

  property OnContextPopup;

  property OnCreate;

  property OnDblClick;

  

Event Handler for double mouse clicks.

  property OnDeactivate;

  property OnDestroy;

  property OnDockDrop;

  

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

  property OnDockOver;

  

Event handler for moves of a control over this docksite. Determines acceptance or rejection of an possible drop.

  property OnDragDrop;

  

This handler determines the action on an drop onto this control, in a drag-drop operation.

  property OnDragOver;

  

Event handler for a control being dragged over this control.

  property OnDropFiles;

  property OnEndDock;

  

Notification handler for the end of a docking operation.

  property OnGetSiteInfo;

  

Provides information about the DockSite.

  property OnHelp;

  property OnHide;

  property OnKeyDown;

  

Handler for keyboard key pressed.

  property OnKeyPress;

  

Handler for a character entered by the user.

  property OnKeyUp;

  

Handler for keyboard key released.

  property OnMouseDown;

  

Event handler for mouse button going down.

  property OnMouseEnter;

  

Event handler for mouse entering the area of the control.

  property OnMouseLeave;

  

Event handler for mouse leaving the area of the control.

  property OnMouseMove;

  

Event handler for mouse movement within the control.

  property OnMouseUp;

  

Event handler for mouse button going up.

  property OnMouseWheel;

  

Event handler for mouse wheel turned.

  property OnMouseWheelDown;

  

Notification handler for downward movement of mouse wheel.

  property OnMouseWheelUp;

  

Notification handler for upward movement of mouse wheel.

  property OnPaint;

  

Supply your own OnPaint handler for painting the control.

  property OnResize;

  

Notification handler for a resize of the control.

  property OnShortCut;

  property OnShow;

  property OnShowHint;

  

Event Handler when a hint shall be shown.

  property OnStartDock;

  

Event handler for the start of a docking operation.

  property OnUnDock;

  

Event handler for control being undocked from this DockSite.

  property OnUTF8KeyPress;

  

Handler for a character entered by the user.

  property OnWindowStateChange;

  property ParentBiDiMode;

  

Allows to use the BiDiMode settings of Parent. Default is true.

  property ParentFont;

  

If true, the Font of the control will be the same as the one from the Parent. Default is true.

  property PixelsPerInch;

  property PopupMenu;

  

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

  property PopupMode;

  property PopupParent;

  property Position;

  property SessionProperties;

  

The stored (saved) properties of the current session, expressed as a string

  property ShowHint;

  

Enables the Hint display.

  property ShowInTaskBar;

  property UseDockManager;

  

Determines whether a DockManager is used for this DockSite.

  property LCLVersion: ; [rws]

  

The version of the LCL as string. Used to distinguish form streams of different versions.

  property Visible;

  

Allows to show or hide the control, and all of its children.

  property WindowState;

end;

Inheritance

TForm

|

TCustomForm

  

The base type for TForm.

|

TScrollingWinControl

  

Class of a windowed control with incorporated scroll bars.

|

TCustomControl

  

The base class for windowed controls which paint themselves.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

TObject