TFindDialog.CreateForm function
Creates and configures the internal form displayed for the dialog.
Declaration
function CreateForm: TForm; virtualDescription
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.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
