[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Dialogs' (#lcl)

# TFindDialog.GetFormValues

Retrieves values from the dialog form and stores them in the properties for the class instance.

## Declaration

Source position: dialogs.pp line 508

`protected procedure TFindDialog.GetFormValues; virtual;`

## Description

GetFormValue is used to update the dialog class instance with the values entered on the dialog form at run-time.

GetFormValue is called from the FindClick method which is used as the OnClick event handler for the Find button on the dialog form. It is called before the values in Options are sanitized and the Find method is called to perform the search.

See SetFormValues for the actions performed to load properties to the dialog form.

## See also

TFindDialog.FindText |  | Contains the text to locate when the Find button is clicked on the dialog form.
TFindDialog.Options |  | Contains the find / replace options enabled for the dialog.
TFindDialog.Execute |  | Displays the dialog form and responds to button clicks.
TFindDialog.FindClick |  | Implements the OnClick event handler for the Find button on the dialog.
TFindDialog.Find |  | Signals the OnFind event handler when the Find button is clicked on the dialog form.
TFindDialog.OnFind |  | Event handler signalled when the Find button is clicked on the dialog form.
TFindDialog.SetFormValues |  | Stores property values in the class instance to the controls on the dialog form.