FMX.Forms.TCommonCustomForm.OnCreate
Delphi
property OnCreate: TNotifyEvent read FOnCreate write FOnCreate;
C++
__property System::Classes::TNotifyEvent OnCreate = {read=FOnCreate, write=FOnCreate};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TCommonCustomForm |
Description
Occurs when the form is created.
Use OnCreate to perform special processing when the form is created and is invoked by the constructor. Either implement this event or override the constructor of the form; do not perform both actions. Any objects created in the OnCreate event should be freed by the OnDestroy event.
When a form is being created and its Visible property is True, the following events occur in the order listed:
See Also
- FMX.Forms.TCommonCustomForm.OnClose
- FMX.Forms.TCommonCustomForm.OnDestroy
- FMX.Forms.TCommonCustomForm.OnCloseQuery
- Adding Images to a String List