FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Preview error on windows seven ... RESOLVED!!!!
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

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

Posted: Wed May 11, 2011 08: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 ?







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




















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

and perhaps it run ok now

 if ::oWnd != nil
             nWidth  = ::nWidth() - If( ::lZoom, 20, 0 )
             nHeight = ::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 !!!!!
Best Regards, Saludos



Falconi Silvio
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM

Re: Preview error on windows seven ...

Posted: Wed May 11, 2011 06: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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: Preview error on windows seven ...

Posted: Wed May 11, 2011 08: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
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

Re: Preview error on windows seven ...

Posted: Thu May 12, 2011 09:34 AM

this notice is no good for me...

Best Regards, Saludos



Falconi Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

Re: Preview error on windows seven ...

Posted: Thu May 12, 2011 02: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!!!





Second Problem

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

::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
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM

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

Posted: Thu May 12, 2011 03: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
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

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

Posted: Wed May 18, 2011 08:29 AM

ANTONIO,

I HOPE THESE MODIFIES YOU insert on next RELASE of TPreview!!!!!!!!!!!!!!!

Best Regards, Saludos



Falconi Silvio
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

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

Posted: Thu May 19, 2011 03:34 AM

Silvio,

Thanks! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

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

Posted: Thu May 19, 2011 03: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

Continue the discussion