Sub OnCreate(Sender: Object; Args: IEventArgs);
Begin
//set of operators;
End Sub OnCreate;
The Sender parameter returns the component that has generated the event.
The Args parameter allows to determine event parameters.
The OnCreate event occurs directly during form creation. The event is executed one time when the form is launched for execution and allows to allocate resources and initialize a form.
See also: