Links
EControl Syntax Editor SDK
TBaseFindDialog Class

Provides common functionality for search/replace dialogs.

TBaseFindDialog = class(TTextFinder);

ecSyntDlg

Derived classes must override DoSearch method which should perform search/replace operations.

Topic 
Description 
The methods of the TTextFinder class are listed here. 
The properties of the TTextFinder class are listed here. 
TBaseFindDialog Class
Topic 
Description 
The methods of the TBaseFindDialog class are listed here. 
The properties of the TBaseFindDialog class are listed here. 
The events of the TBaseFindDialog class are listed here. 
 
Destructor 
 
virtual 
 
protected 
 
Property 
 
Event 
TBaseFindDialog Class
TBaseFindDialog Class 
Description 
Occurs when there is search result. 
Occurs when text not found 
Called when showing search/replace dialog. 
TTextFinder Methods 
Description 
Destroys an instance of TTextFinder. 
Find 
Search FindText in the Text. 
Compares FindText with the Text at the StrtPos position. 
Saves Text in history list. 
TBaseFindDialog Class
TBaseFindDialog Class 
Description 
Is called when string for search is found. 
Creates and initializes a TBaseFindDialog instance. 
Creates dialog. 
Destroys an instance of TBaseFindDialog. 
Implements search/replace operation. In this class this method does nothing. 
Search for all entries of FindText
Search for first entry of FindText
Search for last entry of FindText
Search for next entry of FindText
Search for prior entry of FindText
Updates properties from dialog controls. 
Encodes string list to be stored by property managers. 
Search with previous settings. 
Initializes controls of the dialog. 
Decodes string list to be stored by property managers. 
Shows search/replace dialog. 
TextNotFound method is called when there is no search result. 
TTextFinder Properties 
Description 
Contains the search string. 
Specifies search & replace options. 
TBaseFindDialog Class
TBaseFindDialog Class 
Description 
Encoded history. Use this property for automated storage by TPropsManager component. This properties allows storing multi-line items. 
Maintains a list of previously searched strings. 
Information message that informs about no search result. 
Specifies target control where search/replace operations are performed. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!