You've readded the previous fix...
:-(
But if it is not done like this, last row and columns get messy.
I have another suggestion by Andy. I will fix it soon.
For a finished solution check the Windows console mark
feature.
You can observe that there, the selection is calculated
relative to the starting position, so for example it's
possible to not select anything, by staying in the
starting row or col. That's where our "missing"
row/column is actually.
In Harbour we always calculate relative to the origo,
so we will be missing one position whatever we do.
Any ideas for the trashing windows when resizing? (see pics)
Yes. The problem is in some situations when fontheight or width is
bigger
than expected.
Remove
if( width <= maxWidth &&
height <= maxHeight &&
tm.tmAveCharWidth >= 3 &&
tm.tmHeight >= 4 )
and it will be set right. I did it previously but you removed. Just
test.
If I remove 'tm.* >=' checks, the other problem
will come back again, where too small windows
will have a non-updated regions. If I leave the
check there, it will trash in other occasions.
There must a proper solution to this.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour