Hi all. Recently my eyes got very tired at trying to read small text on my Sony laptop with its 13.3 inch display. I then changed the DPI to 120 (Running Vista) and it's much better.
The problem that I'm having is with Delphi 6 & 7, all the forms suddenly has scroll bars for width and height and the forms' color looks like windows basic color. So it would seem that these versions of Delphi doesn't support a larger DPI setting.
Is there a workaround, has anyone experienced the same thing?
Edit: Found the following code on the net but it doesn't seem to do anything
[pascal]procedure TForm1.FormCreate(Sender: TObject);
begin
Assert(not Scaled, 'TForm.Scaled property sucks, you should set it to False!');
if Screen.PixelsPerInch <> PixelsPerInch then
begin
ScaleBy(Screen.PixelsPerInch, PixelsPerInch);
end;
end;
[/pascal]
Bookmarks