AdvMemo HighDpi AutoCompletion

We are using AdvMemo with AutoCompletion.
But it looks like AutoCompletion-Popup does not support HighDpi at all.

Scaling all windows to 150% in Windows AutoCompletion is not usable anymore, because you can't read anything.

I found some reasons.

  1. GetDPIScale within your TAutoCompletionListBox Methods returns wrong result. (Maybe you could circumvent this using FDPIScale from Owner.Owner, that is in fact your TCustomAdvMemo)
  2. Result of AutoAdaptWidth is not taking care of FDPIScale but TAdvCustomMemo.ShowForm is implemented, like it should.
  3. I think ItemHeight should be calculated if DPI changes at all, not only if AutoWidth is enabled
  4. Didn't get first column width (method-type) scaling correctly

What TMS VCL UI Pck version is this?
What Delphi IDE is this?
What is the design-time editor DPI setting?

Retested with latest TMS VCL UI Pack version v13.5.1.0 on Delphi 12.3 on Windows 11, 150% DPI, form designer set to 96DPI and I cannot see an issue with the AutoCompletionList demo.

13.5.0.0

12.3

Don't know, what you mean exactly. IDE is running DPI unaware.

Running this on Windows 10 or 11 doesn't make a difference.
We also changed DPI while Control was already opened, maybe this will help.

Did you try our demo?
Do you see the issue with the demo?