[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Stores property values in the class instance to the controls on the dialog form.
Source position: dialogs.pp line 492
protected procedure TFindDialog.SetFormValues; virtual; |
SetFormValues copies values from the properties in the class instance to the controls displayed on the dialog form. This includes the values in FindText and Options.
Enumeration values in Options are examined and applied to the radio button or check box used to represent a specific value. The Help button on the dialog form is made visible when frShowHelp is included in Options. The Scope check box is made visible when frHideEntireScope is not present in Options.
SetFormValues ensures that the edit control for FindText is the active control on the form and its text content is selected.
SetFormValues is called from the Execute method, and occurs after the form instance has been created and positioned. It is called before the form is displayed and executed using its buttons.
See GetFormValues for the actions performed when the Find button is clicked on the dialog form.
|
Contains the text to locate when the Find button is clicked on the dialog form. |
|
|
Contains the find / replace options enabled for the dialog. |
|
|
Retrieves values from the dialog form and stores them in the properties for the class instance. |
|
|
Set type used to store TFindOption enumeration values. |
|
|
A list of possible options which can be used in Find dialogs. |
Version 4.0 | Generated 2025-05-03 | Home |