RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSearchFind.Dialog Property

Provides access the find dialog that the action executes.

Pascal
property Dialog: TFindDialog;
C++
__property TFindDialog Dialog;

Use Dialog to configure the find dialog before the action fires or to close the modeless dialog programmatically. For example, you can set the find dialog's options at design time using the Object Inspector or call the dialog's CloseDialog method to close it. 

When using a search-find action, you do not place a TFindDialog component on the form or data module at design time. Instead, you add the TSearchFind action to your action list and then use the Dialog property. The find dialog component is created by the TSearchFind constructor. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!