Page 1 of 1
Preview error on windows seven ... RESOLVED!!!!
Posted: Wed May 11, 2011 8:16 am
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 ?
Second Problemthen when I return back from zoom to one page there is a line black at right as if it not refresh the window
![Image](http://img29.imageshack.us/img29/6028/errprev.jpg)
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 - ;
I
f( 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 !!!!!
Re: Preview error on windows seven ...
Posted: Wed May 11, 2011 6:47 pm
by Armando
Mr. Antonio:
I confirm that problem with W7.
Regards
Re: Preview error on windows seven ...
Posted: Wed May 11, 2011 8:21 pm
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.
Re: Preview error on windows seven ...
Posted: Thu May 12, 2011 9:34 am
by Silvio
this notice is no good for me...
Re: Preview error on windows seven ...
Posted: Thu May 12, 2011 2:47 pm
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!!!
Second Problemat 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 !!!
Re: Preview error on windows seven ... RESOLVED!!!!
Posted: Thu May 12, 2011 3:47 pm
by Armando
Friends:
I confirm, again, With the Silvio's changes, It works fine here now
Regards
Re: Preview error on windows seven ... RESOLVED!!!!
Posted: Wed May 18, 2011 8:29 am
by Silvio
ANTONIO,
I HOPE THESE MODIFIES YOU insert on next RELASE of TPreview!!!!!!!!!!!!!!!
Re: Preview error on windows seven ... RESOLVED!!!!
Posted: Thu May 19, 2011 3:34 am
by Antonio Linares
Silvio,
Thanks!
![Smile :-)](./images/smilies/icon_smile.gif)
Re: Preview error on windows seven ... RESOLVED!!!!
Posted: Thu May 19, 2011 3:41 pm
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