[fpc-devel]Bug in windows crt unit

Jonas Maebe jonas at zeus.rug.ac.be
Tue May 14 14:39:19 CEST 2002


On zaterdag, mei 11, 2002, at 08:39 , pascalive wrote:

> I have used the following trick for writing a char at bottom right 
> corner and prevent the screen to scroll:

As you state yourself, that is a trick. It's nowhere documented that it 
should work, so it's not a bug if it doesn't.

>    Inc(WindMax);
>    GotoXy(lo(WindMax)-(lo(WindMin)),hi(WindMax)+1 - hi(windMin));
>    Write('X');
>    Dec(WindMax);
>    readkey;
>
> It works under TP and FPC 1.04, but under 1.06 the screen scrolls.
> I already installed the 1.07 files and the bug remains

The reason it doesn't work anymore is that the windmin/windmax structure 
had to be changed to allow larger screen sizes.


Jonas





More information about the fpc-devel mailing list