Klasse TCustomForm

BeschreibungHierarchieFelderMethodenEigenschaften

Unit

Deklaration

type TCustomForm = class(TScrollingWinControl)

Beschreibung

no description available, TScrollingWinControl description follows
no description available, TCustomControl description follows
no description available, TWinControl description follows
no description available, TControl description follows
no description available, TLCLComponent description follows

Hierarchie

Übersicht

Methoden

Public constructor Create(AOwner: TComponent); override;
Public constructor CreateNew(AOwner: TComponent; Num : Integer); virtual;
Public procedure BeforeDestruction; override;
Public function GetIconHandle: HICON;
Public destructor Destroy; override;
Public procedure Close;
Public function CloseQuery: boolean; virtual;
Public procedure Release;
Public procedure Hide;
Public procedure Show;
Public procedure ShowOnTop;
Public procedure EnsureVisible(AMoveToTop: boolean = true);
Public function NeedParentForAutoSize: Boolean; override;
Public function WantChildKey(Child : TControl; var Message : TLMessage): Boolean; virtual;
Public procedure DefocusControl(Control: TWinControl; Removing: Boolean);
Public procedure SetFocus; override;
Public function SetFocusedControl(Control: TWinControl): Boolean ; Virtual;
Public procedure FocusControl(WinControl: TWinControl);
Public function ShowModal: Integer; virtual;
Public procedure SetRestoredBounds(ALeft, ATop, AWidth, AHeight: integer);
Public function GetRolesForControl(AControl: TControl): TControlRolesForForm;
Public procedure RemoveAllHandlersOfObject(AnObject: TObject); override;
Public procedure AddHandlerFirstShow(OnFirstShowHandler: TNotifyEvent; AsLast: Boolean=true);
Public procedure RemoveHandlerFirstShow(OnFirstShowHandler: TNotifyEvent);
Public procedure AddHandlerClose(OnCloseHandler: TCloseEvent; AsLast: Boolean=true);
Public procedure RemoveHandlerClose(OnCloseHandler: TCloseEvent);
Public procedure AddHandlerCreate(OnCreateHandler: TNotifyEvent; AsLast: Boolean=true);
Public procedure RemoveHandlerCreate(OnCreateHandler: TNotifyEvent);
Public function IsShortcut(var Message: TLMKey): boolean; virtual;
Public procedure IntfHelp(AComponent: TComponent);
Public procedure Dock(NewDockSite: TWinControl; ARect: TRect); override;

Eigenschaften

Public property Active: Boolean read FActive;
Public property ActiveControl: TWinControl read FActiveControl write SetActiveControl;
Public property ActiveDefaultControl: TControl read FActiveDefaultControl write SetActiveDefaultControl;
Public property BorderIcons: TBorderIcons read FBorderIcons write SetBorderIcons default [biSystemMenu, biMinimize, biMaximize];
Public property BorderStyle: TFormBorderStyle read FFormBorderStyle write SetFormBorderStyle default bsSizeable;
Public property CancelControl: TControl read FCancelControl write SetCancelControl;
Public property Caption stored IsForm;
Public property Color default clBtnFace;
Public property DefaultControl: TControl read FDefaultControl write SetDefaultControl;
Public property Designer: TIDesigner read FDesigner write SetDesigner;
Public property FormState: TFormState read FFormState;
Public property FormStyle: TFormStyle read FFormStyle write SetFormStyle default fsNormal;
Public property HelpFile: string read FHelpFile write FHelpFile stored IsHelpFileStored;
Public property Icon: TIcon read FIcon write SetIcon stored IsIconStored;
Public property KeyPreview: Boolean read FKeyPreview write FKeyPreview stored IsKeyPreviewStored;
Public property Menu : TMainMenu read FMenu write SetMenu;
Public property ModalResult : TModalResult read FModalResult write SetModalResult;
Public property OnActivate: TNotifyEvent read FOnActivate write FOnActivate;
Public property OnClose: TCloseEvent read FOnClose write FOnClose stored IsForm;
Public property OnCloseQuery : TCloseQueryEvent read FOnCloseQuery write FOnCloseQuery stored IsForm;
Public property OnCreate: TNotifyEvent read FOnCreate write FOnCreate;
Public property OnDeactivate: TNotifyEvent read FOnDeactivate write FOnDeactivate;
Public property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy;
Public property OnHelp: THelpEvent read FOnHelp write FOnHelp;
Public property OnHide: TNotifyEvent read FOnHide write FOnHide;
Public property OnResize stored IsForm;
Public property OnShortcut: TShortcutEvent read FOnShortcut write FOnShortcut;
Public property OnShow: TNotifyEvent read FOnShow write FOnShow;
Public property OnWindowStateChange: TNotifyEvent read fOnWindowStateChange write fOnWindowStateChange;
Public property PixelsPerInch: Longint read GetPixelsPerInch write FPixelsPerInch stored False;
Public property Position: TPosition read FPosition write SetPosition default poDesigned;
Public property RestoredLeft: integer read FRestoredLeft;
Public property RestoredTop: integer read FRestoredTop;
Public property RestoredWidth: integer read FRestoredWidth;
Public property RestoredHeight: integer read FRestoredHeight;
Public property ShowInTaskBar: TShowInTaskbar read FShowInTaskbar write SetShowInTaskBar default stDefault;
Public property TextHeight: Longint read FDummyTextHeight write FDummyTextHeight stored False;
Public property Visible write SetVisible stored VisibleIsStored default false;
Public property WindowState: TWindowState read FWindowState write SetWindowState default wsNormal;

Beschreibung

Methoden

Public constructor Create(AOwner: TComponent); override;
 
Public constructor CreateNew(AOwner: TComponent; Num : Integer); virtual;
 
Public procedure BeforeDestruction; override;
 
Public function GetIconHandle: HICON;
 
Public destructor Destroy; override;
 
Public procedure Close;
 
Public function CloseQuery: boolean; virtual;
 
Public procedure Release;
 
Public procedure Hide;
 
Public procedure Show;
 
Public procedure ShowOnTop;
 
Public procedure EnsureVisible(AMoveToTop: boolean = true);
 
Public function NeedParentForAutoSize: Boolean; override;
 
Public function WantChildKey(Child : TControl; var Message : TLMessage): Boolean; virtual;
 
Public procedure DefocusControl(Control: TWinControl; Removing: Boolean);
 
Public procedure SetFocus; override;
 
Public function SetFocusedControl(Control: TWinControl): Boolean ; Virtual;
 
Public procedure FocusControl(WinControl: TWinControl);
 
Public function ShowModal: Integer; virtual;
 
Public procedure SetRestoredBounds(ALeft, ATop, AWidth, AHeight: integer);
 
Public function GetRolesForControl(AControl: TControl): TControlRolesForForm;
 
Public procedure RemoveAllHandlersOfObject(AnObject: TObject); override;
 
Public procedure AddHandlerFirstShow(OnFirstShowHandler: TNotifyEvent; AsLast: Boolean=true);
 
Public procedure RemoveHandlerFirstShow(OnFirstShowHandler: TNotifyEvent);
 
Public procedure AddHandlerClose(OnCloseHandler: TCloseEvent; AsLast: Boolean=true);
 
Public procedure RemoveHandlerClose(OnCloseHandler: TCloseEvent);
 
Public procedure AddHandlerCreate(OnCreateHandler: TNotifyEvent; AsLast: Boolean=true);
 
Public procedure RemoveHandlerCreate(OnCreateHandler: TNotifyEvent);
 
Public function IsShortcut(var Message: TLMKey): boolean; virtual;
 
Public procedure IntfHelp(AComponent: TComponent);
 
Public procedure Dock(NewDockSite: TWinControl; ARect: TRect); override;
 

Eigenschaften

Public property Active: Boolean read FActive;
 
Public property ActiveControl: TWinControl read FActiveControl write SetActiveControl;
 
Public property ActiveDefaultControl: TControl read FActiveDefaultControl write SetActiveDefaultControl;
 
Public property BorderIcons: TBorderIcons read FBorderIcons write SetBorderIcons default [biSystemMenu, biMinimize, biMaximize];
 
Public property BorderStyle: TFormBorderStyle read FFormBorderStyle write SetFormBorderStyle default bsSizeable;
 
Public property CancelControl: TControl read FCancelControl write SetCancelControl;
 
Public property Caption stored IsForm;
 
Public property Color default clBtnFace;
 
Public property DefaultControl: TControl read FDefaultControl write SetDefaultControl;
 
Public property Designer: TIDesigner read FDesigner write SetDesigner;
 
Public property FormState: TFormState read FFormState;
 
Public property FormStyle: TFormStyle read FFormStyle write SetFormStyle default fsNormal;
 
Public property HelpFile: string read FHelpFile write FHelpFile stored IsHelpFileStored;
 
Public property Icon: TIcon read FIcon write SetIcon stored IsIconStored;
 
Public property KeyPreview: Boolean read FKeyPreview write FKeyPreview stored IsKeyPreviewStored;
 
Public property Menu : TMainMenu read FMenu write SetMenu;
 
Public property ModalResult : TModalResult read FModalResult write SetModalResult;
 
Public property OnActivate: TNotifyEvent read FOnActivate write FOnActivate;
 
Public property OnClose: TCloseEvent read FOnClose write FOnClose stored IsForm;
 
Public property OnCloseQuery : TCloseQueryEvent read FOnCloseQuery write FOnCloseQuery stored IsForm;
 
Public property OnCreate: TNotifyEvent read FOnCreate write FOnCreate;
 
Public property OnDeactivate: TNotifyEvent read FOnDeactivate write FOnDeactivate;
 
Public property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy;
 
Public property OnHelp: THelpEvent read FOnHelp write FOnHelp;
 
Public property OnHide: TNotifyEvent read FOnHide write FOnHide;
 
Public property OnResize stored IsForm;
 
Public property OnShortcut: TShortcutEvent read FOnShortcut write FOnShortcut;
 
Public property OnShow: TNotifyEvent read FOnShow write FOnShow;
 
Public property OnWindowStateChange: TNotifyEvent read fOnWindowStateChange write fOnWindowStateChange;
 
Public property PixelsPerInch: Longint read GetPixelsPerInch write FPixelsPerInch stored False;
 
Public property Position: TPosition read FPosition write SetPosition default poDesigned;
 
Public property RestoredLeft: integer read FRestoredLeft;
 
Public property RestoredTop: integer read FRestoredTop;
 
Public property RestoredWidth: integer read FRestoredWidth;
 
Public property RestoredHeight: integer read FRestoredHeight;
 
Public property ShowInTaskBar: TShowInTaskbar read FShowInTaskbar write SetShowInTaskBar default stDefault;
 
Public property TextHeight: Longint read FDummyTextHeight write FDummyTextHeight stored False;
 
Public property Visible write SetVisible stored VisibleIsStored default false;
 
Public property WindowState: TWindowState read FWindowState write SetWindowState default wsNormal;
 

Erstellt mit PasDoc 0.10.0 am 2007-03-27 23:02:57