[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCommonDialog : the base type from which other dialogs are derived
Source position: dialogs.pp line 63
type TCommonDialog = class(TLCLComponent) |
||
protected |
||
function DoExecute; virtual; |
|
The function that actually takes care of executing the dialog |
function DefaultTitle; virtual; |
||
public |
||
FCompStyle: LongInt; |
|
|
constructor Create(); override; |
|
Create - constructor for dialogs |
function Execute; virtual; |
|
A public method of a dialog showing the appropriate dialog. |
|
||
property UserChoice: Integer; [rw] |
|
|
procedure Close; virtual; |
|
Close the dialog and return the memory used |
procedure DoShow; virtual; |
|
the procedure that actually takes care of showing the dialog box |
procedure DoCanClose(); virtual; |
|
|
procedure DoClose; virtual; |
|
The procedure that actually closes the dialog |
function HandleAllocated; |
|
|
published |
||
property OnClose: TNotifyEvent; [rw] |
|
Event Handler for closing the dialog |
property OnCanClose: TCloseQueryEvent; [rw] |
|
Event Handler when dialog is able to be closed |
property OnShow: TNotifyEvent; [rw] |
|
Event handler for showing the dialog |
property HelpContext: THelpContext; [rw] |
|
HelpContext - an index to the context-dependent help message for this dialog |
property Width: Integer; [rw] |
|
The width of the dialog box |
property Height: Integer; [rw] |
|
The height of the dialog box |
property Title: String; [rws] |
|
The Title or Caption to be shown at the top of the dialog box |
end; |
|
TCommonDialog : the base type from which other dialogs are derived |
|
| | ||
TLCLComponent |
||
? | ||
TObject |
TCommonDialog: the base type from which all other dialogs are derived.
Use the "Create" method to make an instance of the dialog,
the "Execute" method to show it to the user
and the "Close" method to release it and free the used resources.
lazarus-ccr.sourceforge.net |