RAD Studio VCL Reference
|
Selects the next occurrence of the search string in the target edit control.
procedure Search(Sender: TObject); virtual;
virtual __fastcall Search(TObject * Sender);
Most applications have no need to call the Search method: the TSearchAction constructor automatically assigns Search as the OnFind event handler of its associated dialog. The dialog's OnFind event occurs when the user directs the dialog to find a specified string.
Search searches the target edit control for the string that is the FindText property of the search dialog, using the options specified by the dialog's Options property. If it finds the specified string, it selects it in the edit control. Otherwise, it displays a message to the user indicating that the string was not found.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|