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

TForm

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

Form - the fundamental visual object that appears in every application with a Graphical User Interface.

Declaration

Source position: forms.pp line 596

type TForm = class(TCustomForm)

protected

  procedure CreateWnd; override;

  

Create a Window Control to contain the Form

  procedure Loaded; override;

public

  constructor Create(); override;

  property ClientHandle: HWND; [r]

  

The operating system handle for the client

  property DockManager;

  

published

  property Action;

  

  property ActiveControl;

  

  property Align;

  

  property AllowDropFiles;

  

  property AutoScroll;

  property AutoSize;

  

  property BiDiMode;

  

  property BorderIcons;

  

  property BorderStyle;

  

  property Caption;

  

  property ChildSizing;

  

  property ClientHeight;

  

  property ClientWidth;

  

  property Color;

  

  property Constraints;

  

  property DockSite;

  

  property DragKind;

  

  property DragMode;

  

  property Enabled;

  

  property Font;

  

  property FormStyle;

  

  property HelpFile;

  

  property Icon;

  

  property KeyPreview;

  

  property Menu;

  

  property OnActivate;

  

  property OnChangeBounds;

  

  property OnClick;

  

  property OnClose;

  

  property OnCloseQuery;

  

  property OnCreate;

  

  property OnDblClick;

  

  property OnDeactivate;

  

  property OnDestroy;

  

  property OnDockDrop;

  

  property OnDockOver;

  

  property OnDragDrop;

  

  property OnDragOver;

  

  property OnDropFiles;

  

  property OnEndDock;

  

  property OnGetSiteInfo;

  

  property OnHelp;

  

  property OnHide;

  

  property OnKeyDown;

  

  property OnKeyPress;

  

  property OnKeyUp;

  

  property OnMouseDown;

  

  property OnMouseMove;

  

  property OnMouseUp;

  

  property OnMouseWheel;

  property OnMouseWheelDown;

  property OnMouseWheelUp;

  property OnPaint;

  

  property OnResize;

  

  property OnShortCut;

  

  property OnShow;

  

  property OnStartDock;

  

  property OnUnDock;

  

  property OnUTF8KeyPress;

  

  property OnWindowStateChange;

  

  property ParentBiDiMode;

  

  property ParentFont;

  

  property PixelsPerInch;

  

  property PopupMenu;

  

  property Position;

  

  property SessionProperties;

  

  property ShowHint;

  

  property ShowInTaskBar;

  

  property UseDockManager;

  

  property LCLVersion: String; [rws]

  

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

  property Visible;

  

  property WindowState;

  

end;

Inheritance

TForm

  

Form - the fundamental visual object that appears in every application with a Graphical User Interface.

|

TCustomForm

  

TCustomForm - the base type for TForm

|

TScrollingWinControl

  

Scrolling Window Control

|

TCustomControl

  

TCustomControl - a base class for many window controls

|

TWinControl

  

The base class for all windowed controls

|

TControl

  

TControl - the main ancestor class for visual controls.

|

TLCLComponent

?

TObject

Description

Form - the fundamental visual object that appears in every GUI application.

Most of the properties are inherited from the ancestors

See also

TCustomForm

  

TCustomForm - the base type for TForm

TScrollingWinControl

  

Scrolling Window Control

#lcl.Controls.TCustomControl

  

TCustomControl - a base class for many window controls

#lcl.Controls.TWinControl

  

The base class for all windowed controls

#lcl.Controls.TControl

  

TControl - the main ancestor class for visual controls.

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