Access to preview form caption

edited February 2003 in General
I have an app that I use for windows to open raf files. However
since it goes straight to the preview form I can't see where I
can display the version of the app (not the RB version). I need
this because it does more than just opens raf files - it also
opens zip files and if they contain raf files it previews them.

So what I would like to do is to access the preview form's
caption - can I do that?


  • edited February 2003
    You can set any of the Preview Form properties in the Archive Reader's
    OnPreviewFormCreate event. For instance, the code below will change the
    caption of the Archive Reader's Preview Form.

    procedure frmTestForm.arArchiveReaderPreviewFormCreate(Sender: TObject);
    arArchiveReader.PreviewForm.Caption := 'This is my application';

    Best Regards,

    Nico Cizik
    Digital Metaphors
This discussion has been closed.