Mega Code Archive

 
Categories / Delphi / Examples
 

Call help with a keyword

Title: Call help with a keyword Question: Answer: procedure CallAppHelp(aHelpName,aSearchKey: string); var astr:array[0..99] of char; begin Application.HelpFile:=aHelpName; StrPCopy(astr,aSearchKey); Application.HelpCommand(HELP_PARTIALKEY, LongInt(@astr)) end;