[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomForm is a base class from which to derive a window such as a form or dialog.
Source position: form.inc line 23
type TCustomForm = class(TBinWidget) |
||
protected |
||
FBorderWidth: Integer; |
|
|
FIsActive: Boolean; |
|
|
FResizedByUser: Boolean; |
|
|
FPositionSpecified: Boolean; |
|
|
procedure Loaded; override; |
|
|
procedure Paint(); override; |
|
|
procedure Resized; override; |
|
|
function WidgetCoords(); |
|
|
function ProcessEvent(); override; |
|
|
procedure CalcSizes; override; |
|
|
procedure EvTextChanged; override; |
|
|
procedure CreateWnd; |
|
|
property CanExpandWidth; |
|
|
property CanExpandHeight; |
|
|
property Cursor; |
|
|
property BorderWidth: Integer; [rw] |
|
|
property OnCreate: TNotifyEvent; [rw] |
|
|
property OnDestroy: TNotifyEvent; [rw] |
|
|
property OnActivate: TNotifyEvent; [rw] |
|
|
property OnDeactivate: TNotifyEvent; [rw] |
|
|
public |
||
constructor Create(); override; |
|
|
destructor Destroy; override; |
|
|
procedure Show; override; |
|
|
procedure ShowModal; |
||
procedure Close; virtual; |
|
|
procedure SetPosition(); |
|
|
property FocusedWidget: TWidget; [rw] |
|
|
property IsActive: Boolean; [r] |
|
|
property MouseCaptureWidget: TWidget; [rw] |
|
|
property WindowOptions: TFWindowOptions; [rw] |
||
property Wnd: TFCustomWindow; [r] |
|
|
end; |
|
TCustomForm is a base class from which to derive a window such as a form or dialog. |
|
| | ||
|
This is a concrete class that implements all the TContainerWidget's abstract methods |
|
| | ||
|
TContainerWidget is an abstract class that defines the interface for containing other widgets |
|
| | ||
|
The TWidget class is the base class of all user interface objects. |
|
| | ||
TComponent |
||
? | ||
TObject |
Derive from TCustomForm to create a custom window. The TCustomForm descendant can contain other objects, such as TButton, TCheckBox and TComboBox objects, but they have to be placed into a Layout Manager class.
|
Lays out widgets in a horizontal or vertical position. |
|
|
The TFixedLayout allows you to arrange widgets at set x and y co-ordinates |
|
|
The TGridLayout class lays out widgets in a grid. |