FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH New Class TPreview
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH New Class TPreview
Posted: Mon Aug 20, 2007 11:47 PM
Managing as many previews simultaneously as needed:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
FWH New Class TPreview
Posted: Mon Aug 20, 2007 11:54 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH New Class TPreview
Posted: Tue Aug 21, 2007 12:06 AM

Rick,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
FWH New Class TPreview
Posted: Tue Aug 21, 2007 03:18 AM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH New Class TPreview
Posted: Tue Aug 21, 2007 08:29 AM
Rick,

They are four different previews, though in the sample I have created all the same way (just for a quick test):
   PRINTER oPrn PREVIEW
      PAGE
         oPrn:ImportWMF( "invoice.emf" )
      ENDPAGE
      PAGE
         oPrn:ImportWMF( "invoice.emf" )
      ENDPAGE
   ENDPRINT
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH New Class TPreview
Posted: Tue Aug 21, 2007 08:48 AM
In a SDI environment:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
FWH New Class TPreview
Posted: Tue Aug 21, 2007 02:06 PM

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

Continue the discussion