Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Print Preview Minimize??

edited January 2005 in General
Is there a way to prevent the print preview screen from being minimized?

Some of my users are accidentally minimizing the print preview when they
mean to close it. They are using Citrix server, and it appears that the
minimized Icon is getting lost and locking the application.

Thanks,

Austin

Comments

  • edited January 2005
    Hi Austin,

    The PreviewForm is a descendent of the TForm class so you will need to
    disable the the biMinimize BorderIcon to remove the ability to minimize the
    preview form. Something like the following...

    procedure TForm1.ppReport1PreviewFormCreate(Sender: TObject);
    begin
    ppReport1.PreviewForm.BorderIcons := ppReport1.PreviewForm.BorderIcons -
    [biMinimize];
    end;

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2005
    Nico,

    Thanks very much!!!!!

    This did the trick.

    Austin

This discussion has been closed.