Preview error on windows seven ... RESOLVED!!!!

Post Reply
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Preview error on windows seven ... RESOLVED!!!!

Post by Silvio »

On win xp it not make this error but on windows seven 64 bit make error

I cannot see the bottom of the paper



any solution ?


Image




Second Problem


then when I return back from zoom to one page there is a line black at right as if it not refresh the window




Image















I tried to modify rpreview at Paintmeta method for the first problem

and perhaps it run ok now

 if ::oWnd != nil
             nWidth  = ::oWnd:nWidth() - If( ::lZoom, 20, 0 )
             nHeight = ::oWnd:nHeight() - If( ::lZoom .and. ::nZFactor > 1, 20, 0 ) - 10 - ;
                       If( LargeFonts(), 100,86 ) //100  80

             if ! ::lZoom
                nMetaWidth = ( nHeight - 40 ) * nFactor
             else
                nMetaWidth = nWidth * nFactor
             endif

             oCoors1 := TRect():New( 40,;  


But I think it is no good solution !!!!!
Last edited by Silvio on Thu May 12, 2011 3:08 pm, edited 1 time in total.
Best Regards, Saludos

Falconi Silvio
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Re: Preview error on windows seven ...

Post by Armando »

Mr. Antonio:

I confirm that problem with W7.

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Preview error on windows seven ...

Post by nageswaragunupudi »

On win xp it not make this error but on windows seven 64 bit make error

I cannot see the bottom of the paper
This is fixed in version 11.4
when I return back from zoom to one page there is a line black at right as if it not refresh the window
This is yet to be fixed.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Preview error on windows seven ...

Post by Silvio »

this notice is no good for me...
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Preview error on windows seven ...

Post by Silvio »

Dear Nages,
I correct it and now it run ok

for the first problem
I change this line on PaintMeta() method

If( LargeFonts(), 100, 92 )

this because someone changed largefonts() function .....remember now largefonts support 143 dpi!!!

Image



Second Problem

at the end of the method zoom() I insert this before 'return nil'

::oWnd:refresh()


I saw the old rpreview function , perhaps it seem be an error of copy from old function to new tpreview class

it seems run ok !!!!!!!!!

I want Know if on your computer run ok !!!
Best Regards, Saludos

Falconi Silvio
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Re: Preview error on windows seven ... RESOLVED!!!!

Post by Armando »

Friends:

I confirm, again, With the Silvio's changes, It works fine here now

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Preview error on windows seven ... RESOLVED!!!!

Post by Silvio »

ANTONIO,

I HOPE THESE MODIFIES YOU insert on next RELASE of TPreview!!!!!!!!!!!!!!!
Best Regards, Saludos

Falconi Silvio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Preview error on windows seven ... RESOLVED!!!!

Post by Antonio Linares »

Silvio,

Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Preview error on windows seven ... RESOLVED!!!!

Post by Silvio »

Antonio,

thanks to U ...


I not use Dll with tpreview , I rewrite all dialogs into source code , only I insert bitmaps on my application resource, I set all txt with i18n() function the txts can be change with my TLanguage class easy to use

U can use this feature because specially on Windows Seven's system there was a leack of memory and lose the prev32.dll
Best Regards, Saludos

Falconi Silvio
Post Reply