Vcl.HtmlHelpViewer.IHtmlHelpTester.CanShowALink

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function CanShowALink(const ALink, FileName: string): Boolean;

C++

virtual bool __fastcall CanShowALink(const System::UnicodeString ALink, 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 nom de ALink et située dans le fichier d'aide spécifié.

CanShowALink renvoie True si le système d'aide peut afficher la rubrique d'aide, qui est spécifiée par le nom du lien associatif ALink et située dans le fichier d'aide FileName spécifié. Sinon, CanShowALink renvoie False.

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

Voir aussi