Delphi How To Understand DelphiVCL.Application.HelpShowTableOfContents

FireWind

Свой
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,199
Credits
4,009
How To Understand DelphiVCL.Application.HelpShowTableOfContents
By Muhammad Azizul Hakim August 24, 2021

Use the HelpShowTableOfContents method or DelphiVCL.Application.HelpShowTableOfContents to show the table of contents within the Help system.

Use HelpShowTableOfContents to bring up the table of contents for the Help system specified in the CurrentHelpFile property. This method is preferred to calling System.HelpIntfs.ICustomHelpViewer.ShowTableOfContents, which cannot be used as the first call into the help system.

In order for HelpShowTableOfContents to work and to call the proper native Help handling function, insert in the uses clause of your application the Vcl.HtmlHelpViewer or another unit that provides an interface to the external Help viewer to use. The Vcl.HtmlHelpViewer unit provides a Delphi interface to the HTMLHelp Windows native Help handling function. For C++, you need to include the HTMLHelpViewer.hpp header files.

For information about the native Help handling functions (HTMLHelp or other) and about the data passed to them, see the appropriate HTMLHelp topics in the MSDN Library.

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.HelpShowTableOfContents using dir() command:
Python:
import DelphiVCL
 
dir(DelphiVCL.Application.HelpShowTableOfContents)

See the responses in our Windows command prompt​


1629787759176.png
You can also read short information about the DelphiVCL.Application.HelpShowTableOfContents using the print() command
Python:
print(DelphiVCL.Application.HelpShowTableOfContents)
print(DelphiVCL.Application.HelpShowTableOfContents.__doc__)
See the responses in our Windows command prompt:
1629787807462.png