[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Creates and configures the internal form displayed for the dialog.
Source position: dialogs.pp line 491
protected function TFindDialog.CreateForm: TForm; virtual; |
TForm instance created and configured for the dialog.
CreateForm is a TForm function used to create the form displayed for the dialog. The form class is defined in the implementation section. It contains the controls needed for the edits, labels, buttons, radio buttons, and check boxes displayed for the dialog. It includes the controls needed to represent the TFindOption values in the Options property.
CreateForm ensures that translated/localized resource strings are assigned to the captions for the form controls. OnClick event handlers are assigned for the Find, Help, and Cancel buttons on the form. The initial Left and Top coordinate are also assigned to the form.
Use the OnFind, OnHelpClicked, OnShow, and OnClose event handlers to implement the specific actions performed when the dialog is executed.
CreateForm is called from the Execute method when the form instance has not already been assigned.
Version 4.0 | Generated 2025-05-03 | Home |