TAdvMainMenu Shortcut Drawing Issue

In the latest release (13.4.0.0) under XE and Win 10, the shortcut text for menu items using the caption text.

This is what it looks like in 13.3.0.0

This is what it looks like in 13.4.0.0

I've gone back and forth between the two versions and the results are always bad with 13.4.0.0 and good with 13.3.0.0 or earlier.

1 Like

I just tried a simple test project with only a TAdvMainMenu in XE and D12 and the same drawing issue in both, so it's not just an XE issue.

While awaiting an official fix I delved into AdvMenus.pas and compared the old and new versions. It looks like a small error on line 1557 is the cause.

Old (good) version:
Text := ACaption;

New (bad) version:
Text := Caption;

Editing the file to revert that change solved the issue for me. I haven't looked into the other differences yet.

Yes, this affects it. We are investigating and will fix this for the next update.

Hi,

Same problem here also, using the previous AdvMenu.pas (2.1.7.12) restores a correct behavior.

AdvPopupMenu is also affected!

The fix is simple for me:

Revert in AdvMenu Line 1557 back to

Text := ACaption;

There is a With causing the error ;-)

Yep, my solution was posted 8 days ago. :)

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.