Overall Windows 10 is good
(the 5th upgrade attempt worked like a charm – hint make sure your BIOS and 
drivers have got all updates available)
However note these:
These observations are mainly using D2007 and in some cases D10 Seattle.
1 – Under Windows 10 there are two ways to change the size of text etc on the 
screen.
Under Right Click Desktop/Display Settings 
a - Change the size of text, apps and other items  (disabled if b is in effect).
If set, it changes the native screen resolution to make everything look bigger. 
 eg my 1920x1080 HD screen is now 1536x864.   And yes forms look blurry because 
its not the native resolution.
b – Advanced settings/Advanced setting of text size and other items/set a 
custom scaling level (not recommended) – setting this to 125% changes the DPI 
from 96DPI to 120DPI and seems to be discouraged in Windows 10.
This keeps the proper screen resolution but introduces other issues as below.
Setting b at 125%   ie 120DPI does not play well with Delphi 10 Seattle – all 
mainly is OK but when running the program in the debugger the bottom status 
window (grid) get a font that is way too big for the grid it is being shown in.
I have found that In general changing DPI messes a couple of things up with 
grids – column widths need to be resized to fit properly (they do not occupy 
the whole width of the grid otherwise) and font height needs to be checked – if 
it is greater than defaultrowheight * 2 then the font size needs to be reduced. 
  I have code for these adjustments, and they work well.
Note running a large eg HD screen at 96DPI and no resizing of text does give 
smaller items on the screen than many users want, and many larger screens will 
come configured to make text etc larger so programmers will likely need to 
cater for these issues, or at least be aware of them.
2 – Pinning an icon to the taskbar disables updates to the taskbar icon when 
the program is running.   This also applies to Windows 7,8,10 as far as I can 
tell.
Sort of understandable but a bit disappointing.   It looks like the pinned 
version of the icon gets locked in and will not alter.
3 – Getting Windows version eg using D2007
using Win32MajorVersion and Win32MinorVersion does not work for Windows 10 – it 
gives the same value it does for Windows 8.1   namely 6.2   (which corresponds 
to Windows 8 – not 8.1)
I am guessing MS locked these versions at Windows 8 to avoid breaking legacy 
code.
Later versions of Delphi use TOSversion.ToString and other methods instead 
which are more reliable
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to