Changing the designer caption

Anu de DeusAnu de Deus Hampshire, UK
edited 7:03PM in FastReport 4.0
When (at runtime) the user opens the report designer (call to frxReport1.DesignReport), how can I change the designer window caption, so intead of it showing 'FastReport - untitled.fr3' it shows a custom string (without having to save it to a file)?

Comments

  • Anu de DeusAnu de Deus Hampshire, UK
    edited 7:03PM
    frxDesigner.OnShow:= DesignerOnShow;

    procedure TChapter.DesignerOnShow(sender: TObject);
    Begin
    if sender is Tform then
    tform(sender).Caption := 'Good morning '+ FName;
    End;

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.