Changing the designer caption
Anu de Deus
Hampshire, UK
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
procedure TChapter.DesignerOnShow(sender: TObject);
Begin
if sender is Tform then
tform(sender).Caption := 'Good morning '+ FName;
End;