RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IHelpSystem3.ShowSearch Method

Opens Search pane of Help Viewer.

Pascal
procedure ShowSearch(const Topic: string; const HelpFileName: string);
C++
__fastcall ShowSearch(const AnsiString Topic, const AnsiString HelpFileName);

The RTL Help System calls ShowSearch to have a Viewer open its Search Pane. If the Help Viewer has the ability to search for the given topic parameter, it executes the search; otherwise it is ignored. The HelpFileName parameter is only used in certain help systems (such as Microsoft HTML Help) and is only used if there is no help file name already known by the Help System

The help system queries all registered Help Viewers. If only one viewer can display an Search pane then it is shown; otherwise the user is asked to decide which Viewer to display. 

 

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