RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IExtendedHelpViewer.UnderstandsTopic Method

Queries the Help Viewer if it understands the given Topic.

Pascal
function UnderstandsTopic(const Topic: string): Boolean;
C++
__fastcall Boolean UnderstandsTopic(const AnsiString Topic);

UnderstandsTopic should return true if the Viewer is able to display the topic identified by the Topic parameter. When the RTL Help System receives a Topic-based Help request, it calls UnderstandsTopic for each Viewer that implements it until the method returns true. (Viewers are polled in the order they were registered.) The Help System than calls that Viewer's DisplayTopic method. 

 

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