Links
EControl Syntax Editor SDK
TSyntFindDialog Class

TSyntFindDialog is a wrapper component to "Find" dialog for TSyntaxMemo.

TSyntFindDialog = class(TBaseFindDialog);

ecSyntDlg

The TSyntFindDialog component displays a modal Windows dialog box that prompts the user for a search string. It's designed for using with the TSyntaxMemo. The dialog does not appear at runtime until it is activated by a call to the Execute method. 

It also provides Regular Expression search

This wrapper component is established to grant user an opportunity to substitute another interface of the dialog. SetDlgControls, GetDlgContols and CreateDlg methods are intended to substitute the default form.

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. 
TSyntFindDialog Class
Topic 
Description 
The methods of the TSyntFindDialog class are listed here. 
The properties of the TSyntFindDialog class are listed here. 
The events of the TSyntFindDialog class are listed here. 
 
Destructor 
 
virtual 
 
protected 
 
Property 
 
read only 
 
Event 
TBaseFindDialog Class
TBaseFindDialog Class 
Description 
Occurs when there is search result. 
Occurs when text not found 
Called when showing search/replace dialog. 
TSyntFindDialog Class
TSyntFindDialog Class 
Description 
Custom processing of cycle search request. 
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. 
TSyntFindDialog Class
TSyntFindDialog Class 
Description 
Cancels current search loop. 
Asks to continue search from the start of text or calls TSyntFindDialog.OnNeedCycleSearch Event
Creates and initializes a TSyntFindDialog instance. 
Destroys an instance of TSyntFindDialog. 
Performs search (replace). 
 
Returns text range to search
Search for FindText
Initializes controls of the dialog. 
Marks search result in Syntax Memo. 
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. 
TSyntFindDialog Class
TSyntFindDialog Class 
Description 
Specifies auto-filling FindText property. 
Scroll editor to place search result at center of the editor. 
Target control. 
Specifies whether search should be restarted from text origin. 
Message asked to continue search from text origin. 
Specifies whether editor should be focused on successful execution. 
Defines whether selection of the text before search is kept after search
Number of found entries in text. 
Specifies a way to highlight search result. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!