Vcl.HtmlHelpViewer.IHtmlHelpTester.CanShowTopic

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function CanShowTopic(const Topic, FileName: string): Boolean;

C++

virtual bool __fastcall CanShowTopic(const System::UnicodeString Topic, const System::UnicodeString FileName) = 0 ;

Propriétés

Type Visibilité  Source Unité  Parent
function public
Vcl.HtmlHelpViewer.pas
Vcl.HtmlHelpViewer.hpp
Vcl.HtmlHelpViewer IHtmlHelpTester


Description

Interroge si le système d'aide peut afficher la rubrique d'aide, qui est spécifiée par le mot clé et située dans le fichier d'aide spécifié.

CanShowTopic renvoie True si le système d'aide peut afficher la rubrique d'aide, qui est spécifiée par le mot clé Topic et située dans le fichier d'aide FileName spécifié. Sinon, CanShowTopic renvoie False.

La classe Vcl.THtmlHelpViewer, implémentée dans la section implementation de l'unité Vcl.HtmlHelpViewer, utilise CanShowTopic dans la fonction TVcl.HtmlHelpViewer.UnderstandsTopic. TVcl.HtmlHelpViewer.UnderstandsTopic implémente la fonction System.HelpIntfs.IExtendedHelpViewer.UnderstandsTopic lorsque vous spécifiez l'unité Vcl.HtmlHelpViewer dans la section uses de votre programme.

Voir aussi