Change location of Help File

FAlvaradoFAlvarado US/Mexico
edited 5:57PM in FastReport VCL 5
Is there a way to set a different location for the help file FRUser.chm (user's Manual)?
Currently, we have to save the help file in the application folder in order to let the user get help while designing a report, but we have a folder ..\Help to have all the help files together.
Best Regards
Francisco Alvarado

Comments

  • gpigpi
    edited 5:57PM
    No, you can't without changes of FR's sources
    procedure TfrxResources.Help(Sender: TObject);
    ...
    {$IFNDEF FR_COM}
      frxDisplayHHTopic(Application.Handle, ExtractFilePath(Application.ExeName) + FHelpFile + topic);  //change this line
    {$ELSE}
      frxDisplayHHTopic(Application.Handle, FHelpFile + topic);
    {$ENDIF}
    
  • FAlvaradoFAlvarado US/Mexico
    edited 5:57PM
    gpi wrote: »
    No, you can't without changes of FR's sources
    procedure TfrxResources.Help(Sender: TObject);
    ...
    {$IFNDEF FR_COM}
      frxDisplayHHTopic(Application.Handle, ExtractFilePath(Application.ExeName) + FHelpFile + topic);  //change this line
    {$ELSE}
      frxDisplayHHTopic(Application.Handle, FHelpFile + topic);
    {$ENDIF}
    

    Thank you gpi
    Francisco Alvarado

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.