Vcl.Dialogs.TFindOption
Delphi
TFindOption = (frDown, frFindNext, frHideMatchCase, frHideWholeWord,
frHideUpDown, frMatchCase, frDisableMatchCase, frDisableUpDown,
frDisableWholeWord, frReplace, frReplaceAll, frWholeWord, frShowHelp);
C++
enum DECLSPEC_DENUM TFindOption : unsigned char { frDown, frFindNext, frHideMatchCase, frHideWholeWord, frHideUpDown, frMatchCase, frDisableMatchCase, frDisableUpDown, frDisableWholeWord, frReplace, frReplaceAll, frWholeWord, frShowHelp };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.Dialogs.pas Vcl.Dialogs.hpp |
Vcl.Dialogs | Vcl.Dialogs |
Description
TFindOption and TFindOptions determine the controls that appear in a find dialog.
TFindOption values determine which controls are enabled in a TFindDialog instance, and how the controls are initialized.
TFindOptions is a set of TFindOption values.
The following table lists the possible values:
Value | Meaning |
---|---|
frDisableMatchCase |
Disables (grays) the Match Case check box in a find dialog. |
frDisableUpDown |
Disables (grays) the Up and Down buttons, which determine the direction of the search. |
frDisableWholeWord |
Disables (grays) the Match Whole Word check box of find dialog. |
frDown |
Selects the Down button by default when the dialog opens. If the frDown flags is off, Up is selected when the dialog opens. (By default, frDown is on.) |
frFindNext |
This flag is turned on when the user clicks the Find Next button and turned off when the dialog closes. |
frHideMatchCase |
Removes the Match Case check box from the dialog. |
frHideWholeWord |
Removes the Match Whole Word check box from the dialog. |
frHideUpDown |
Removes the Up and Down buttons from the dialog. |
frMatchCase |
This flag is turned on (off) when the user selects (deselects) the Match Case check box. To select the check box by default when the dialog opens, set frMatchCase at design time. |
frReplace |
Applies to TReplaceDialog only. This flag is set by the system to indicate that the application should replace the current occurrence (and only the current occurrence) of the FindText string with the ReplaceText string. Not used in search routines. |
frReplaceAll |
Applies to TReplaceDialog only. This flag is set by the system to indicate that the application should replace all occurrences of the FindText string with the ReplaceText string. |
frShowHelp |
Displays a Help button in the dialog. |
frWholeWord |
This flag is turned on (off) when the user selects (deselects) the Match Whole Word check box. To select the check box by default when the dialog opens, set frWholeWord at design time. |