In my Delphi 10.2 VCL application there seems to be a problem with the default modern Windows10
VCL style. On builtin Delphi component, like the TFontDialog
, the user cannot use vertical scrolling in dropdown components. The arrows can't be clicked and the scrollbar can't be dragged, only scrolling up and down with the mousewheel works. If I'm using older VCL styles (for example the old XP style Windows
) this is not an issue, the user can use all controls and everything works as expected.
TFontDialog Example
TFontDialog.Create(Form1);
TFontDialog.Execute;
Vertical scrolling in the color dropdown component is not usable (highlighted in red), only mouse scrolling is possible, the user cannot click the arrows or drag the scrollbar.
TOpenPictureDialog Example
TOpenPictureDialog.Create(Form1);
TOpenPictureDialog.Execute;
Vertical scrolling in the dropdown component is not usable (highlighted in red).
BrowseForFolder Example
TDirectoryListBox.directory := BrowseForFolder('Choose a folder', '', false);
Vertical scrolling in the color dropdown component is not usable (highlighted in red), only mouse scrolling is possible, the user cannot click the arrows or drag the scrollbar.
I tried the suggestion from @RRUZ in response to a different problem (Delphi 10 Seattle - Vista Dialogs bug with VCL Styles) to add the VCL Styles Utils project files, but I couldn't detect any changes with the additional files in my uses section.
edit: Delphi 10.2 Version 25.0.29899.2631