This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Adustment of DropDown-Position

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

Sign In or Register to comment.