In TCustomElComboBox.DropDown (ELCombos.pas)
Uses
if (P.X + FForm.Width > GetDesktopRight) then
begin
...
end;
to check if Dropdown must be moved to left
But GetDesktopRight uses
function GetDesktopRect: TRect;
begin
SystemParametersInfo(SPI_GETWORKAREA, 0,
@result, 0);
end;
and SPI_GETWORKAREA gives only the area of the primary monitor.
This should be change to work with the Workarea of the used monitor where the combobox is located
Comments