Find - DfBaseEdit
Searches the text in an edit window
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| sText | String | The text to be searched for |
Syntax
Procedure Find String sText
Call Example
Send Find sText
Description
The Find message searches the text in an edit window. If the text is found, it will be highlighted. It starts the search from the last Find position and searches to the end of the buffer. The Reset_Find message may be sent to force the find to start at the start of the buffer.
The search is case sensitive.
The find operation only works if the edit object is active and you will only see the results of the find if the edit object has the focus.
Send Find "Eureka"
In this example, the string Eureka if found, will be highlighted.