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

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

Postby Silvio » Wed May 11, 2011 8:16 am

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
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Preview error on windows seven ...

Postby Armando » Wed May 11, 2011 6:47 pm

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
Armando
 
Posts: 3061
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Preview error on windows seven ...

Postby nageswaragunupudi » Wed May 11, 2011 8:21 pm

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
nageswaragunupudi
 
Posts: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Preview error on windows seven ...

Postby Silvio » Thu May 12, 2011 9:34 am

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 ...

Postby Silvio » Thu May 12, 2011 2:47 pm

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
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

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

Postby Armando » Thu May 12, 2011 3:47 pm

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
Armando
 
Posts: 3061
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

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

Postby Silvio » Wed May 18, 2011 8:29 am

ANTONIO,

I HOPE THESE MODIFIES YOU insert on next RELASE of TPreview!!!!!!!!!!!!!!!
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 ... RESOLVED!!!!

Postby Antonio Linares » Thu May 19, 2011 3:34 am

Silvio,

Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Silvio » Thu May 19, 2011 3:41 pm

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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 93 guests