` Printed Icetips Article

Icetips Article



Par2: Skipping Print Preview dynamically at runtime
1998-05-29 -- Russ Eggen
 
This is actually pretty straightforward in ABC.

In the ThisWindow.AskPreview in the first available embed point, simply add
this little gem:

If UserNotWantPreview THEN SELF.SkipPreview = True.

The variable to control this would have to be defined by you and user
accessible.

In 2003 it was a bit trickier.  In the Before Print Preview embed:

IF UserNotWantPreview
  ENDPAGE(Report)
  Report{Prop:FlushPreview} = True
  LocalResponse = RequestCancelled
END



Printed November 21, 2024, 6:31 am
This article has been viewed/printed 35203 times.