size : 694 uploaded_on : Wed Oct 14 00:00:00 1998 modified_on : Wed Dec 8 14:03:17 1999 title : Help search org_filename : HlpSearch.txt author : unknown authoremail : description : How to bring on the "Search" dialog in help keywords : tested : not tested yet submitted_by : Mike Orriss submitted_by_email : mjo@3kcc.co.uk uploaded_by : nobody modified_by : nobody owner : nobody lang : plain file-type : text/plain category : delphi-system32bit __END_OF_HEADER__ The following code demonstrates how to bring up the WinHelp "Search" dialog for your application's help file. You can use TApplication's HelpCommand method to send the Help_PartialKey command to the WinHelp system. The parameter for this command should be a PChar (cast to a longint to circumvent typechecking) that contains the string on which you'd like to search. The example below uses an empty string, which invokes "Search" dialog and leaves the edit control in the dialog empty. procedure TForm1.SearchHelp; var P: PChar; begin Application.HelpFile := 'c:\delphi\bin\delphi.hlp'; P := StrNew(''); Application.HelpCommand(Help_PartialKey, longint(P)); StrDispose(P); end;