Direction right direction towards Delphi TActionMainMenuBar

when using TActionMainMenuBar, is there a way to align the Actions component and the submenu from right to left?

bidi change did not seem to change

setting Bidiparent to false did not help

changing Align to AlRight didn't help

installation on onshow

Application.BidiMode := bdRightToLeft; SysLocale.MiddleEast := true; 

more ideas?

Update: changing actionManager.Style on windows xp really helped.

At first I set up the code, but the change was reflected only during development and only to the "category". The actions themselves remained left to right.

+4
source share
2 answers

This is a known bug in the TActionMainMenuBar component that was sent to Quality Central: QC # 10877 .

The error was registered back in 2005, and since it has not yet been fixed, I do not really hope that it will be fixed.

I doubt very much that there is an easy workaround and suspicion that you might need to contact TMainMenu . You only hope to include the ActnMenus VCL block in your own project, and then find and fix the error. I have done this over and over for numerous errors in TMainMenu and TPopupMenu , but I'm afraid that I have no experience with TActionMainMenuBar and not a single one with a picture from right to left.

+2
source

If you use TMainMenu and set BiDiMode = bdRightToLeft, then everything is on the correct site.

0
source

All Articles