In Delphi 7, a TListBox does not scale the ItemHeight based on the DPI.
In a TListBox with Style to lbStandard, the ItemHeight will be calculated by the OS based on the font size.
But the TsListBox overrides that standard style with ONWERDRAWFIXED.
In that case, the OS does not calculate the ItemHeight anymore.
In more recent versions of Delphi, they scale the ItemHeight by overriding the procedure ChangeScale.
Could it be possible to add the overriding of this procedure under Delphi 7?
Stephane Senecal
CIS Group
Delphi programmer since 2001