In the PmRoot object there is the Runtime helps path configurator. If you want to use only one CHM (HLP) file in the application, then it is advisable to enter the path to it here. For 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 (if it is active). 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, then it would be the path: /Objects/Promotic/PmData/Desc.htm. (To make it work, you must set the configurator from step 1).
You can open the specific help page by the Pm.ShowHelp method.
'The case when the configurator from the step 1) does not have to be set
Pm.ShowHelp "\Pm\PromoticEn.chm", "/Objects/Promotic/PmData/Desc.htm"
'Case when the configurator from the step 1) must be set
Pm.ShowHelp "", "/Objects/Promotic/PmData/Desc.htm"
The help can be also opened by the Pm.ShellExecute method. For example:
Pm.ShellExecute "open", "PromoticEn.chm", "", "C:\Pm\", 3
It is possible to set how the help appears (maximized, normal, etc.), but the internal document cannot be entered. It is rather suitable for viewing one HTM document.