One button to open an HTML page with default webBrowser? lazarus / 13-General ---------------------------------------------------------------------- Elmug · 2011-08-27 11:38 Good people, I would like to have a button that fires the default Web Browser and a help page is opened, and would appreciate a brief guidance. Don't need context sensitive help. Just want to try this simpler thing. Thanks! ---------------------------------------------------------------------- eny · 2011-08-27 11:53 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 uses Windows;... var s: string;    p: string;begin  s := 'cmd.exe';  p := '/c start d:\temp\info.htm';  ShellExecute(0, 'open', pchar(s), pchar(p), nil, SW_HIDE);end; ---------------------------------------------------------------------- typo · 2011-08-27 12:26 Code: [Select]// uses LCLIntF OpenDocument(YourHTMLDoc); ---------------------------------------------------------------------- IPguy · 2011-08-27 12:46 or? openURL();    where could be something like: 'http://www.website.com' 'file:///C:/Temp/index.html' 'file:///C:/Documents/Project/HelpInfo.ods'