Page 1 of 1

FWH New Class TPreview

Posted: Mon Aug 20, 2007 11:47 pm
by Antonio Linares
Managing as many previews simultaneously as needed:

Image

Posted: Mon Aug 20, 2007 11:54 pm
by Rick Lipkin
Antonio

I like the appearance .. the toolbar you are testing .. is that only for the manifest theme or could you ( wish list ) update the standard prev32.dll icons with the same look ??

Rick Lipkin

Posted: Tue Aug 21, 2007 12:06 am
by Antonio Linares
Rick,

Actually we are using them if you use XP themes only, but we could certainly upgrade prev32.dll to use them

Posted: Tue Aug 21, 2007 3:18 am
by Rick Lipkin
Antonio

Like what you have done here .. is that 4 preview screens from the same output .. just shown at different resolutions ??

Be a nice change for the preview tool bar to use the manifest icons as the regular ones as well. You might see what kind of resopnce you get from the news group.

Rick Lipkin

Posted: Tue Aug 21, 2007 8:29 am
by Antonio Linares
Rick,

They are four different previews, though in the sample I have created all the same way (just for a quick test):

Code: Select all

   PRINTER oPrn PREVIEW
      PAGE
         oPrn:ImportWMF( "invoice.emf" )
      ENDPAGE
      PAGE
         oPrn:ImportWMF( "invoice.emf" )
      ENDPAGE
   ENDPRINT

Posted: Tue Aug 21, 2007 8:48 am
by Antonio Linares
In a SDI environment:

Image

Posted: Tue Aug 21, 2007 2:06 pm
by Rick Lipkin
Antonio

Are you allowing us the control to create our own metafiles and presenting them to the previewer ??

Sorry if that is a dumb question .. I use the tprinter class to write all my reports .. not the report class oPrint:start(), oPrint:end(), oPrint:Preview(), oPrint:PrintEnd().

Rick Lipkin