In the PmRoot object there is the Runtime helps path configurator. If you want to use only one CHM (HLP) file in the application, it is advisable to enter the path to it here. In case of the PROMOTIC electronic documentation, the path, for example, C:\Pm\PromoticEn.chm would be entered here.
In the PmPanel object there is the configurator PmPanel > Panel > Panel help topic. You can enter the identifier of the internal document here that is displayed if you press the key F1 in this panel (when it is active). In case of the CHM file the path (in case of HLP, the number) to the internal document is entered here. For example, if you want to display the description of the PmData object in the PromoticEn.chm, it would be the path: /Objects/Promotic/PmData/Desc.htm. (To make it work, you must set the configurator from the step 1).
You can call the specific help by means of the Pm.ShowHelp method.
a) Case when the configurator from the step 1) needn't be set:
b) Case when the configurator from the step 1) must be set:
The help can be also called by means of the Pm.ShellExecute method. For example:
Pm.ShellExecute "open", "PromoticEn.chm", "", "C:\Pm\", 3
It is possible to enter how the help has to appear (maximized, normal, etc.), but the internal document cannot be entered. It is rather suitable for viewing one HTM document.