Open specific topic from CHM file lazarus / 21-General ---------------------------------------------------------------------- LemonParty · 2024-06-05 14:42 I have a CHM file and it's opening a topic with specific number when pressing F1. How to open a topic with specific number via code? ---------------------------------------------------------------------- marcov · 2024-06-05 15:29 You might want to have a look at the hhex* examples in the FPC repository fpc\packages\winunits-base\tests ---------------------------------------------------------------------- LemonParty · 2024-06-06 12:17 I found. It is HtmlHelpA function from unit HTMLHelp. Called that way: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i HtmlHelpA(0, PChar(PathToCHMFile), HH_HELP_CONTEXT, HelpContext)Thank you.