I'm working on a TMainMenu that allows users to select a language.

I'm working on a TMainMenu that allows users to select a language.

Assigning this string (the first token of which is a Japanese font):

日本語 (Japanese)

to a TMenuItem's .Caption property results in the Berlin 10.2 Update 2 VCL displaying this text on the menu item:

日本語 (Japanese)(J)

Why is the (J) appended at the end? Something to do with Unicode?

Any suggested fixes?

Comments

  1. Thanks, Attila Kovacs for the tip on setting AutoHotKeys to maManual.

    ReplyDelete
  2. I think it is normal practice with Asian languages that you show the shortcut that way. We always handled it manually though, by simply adding e.g. "(&J)" to the text, so Delphi could underline it and use it as a shortcut.

    ReplyDelete
  3. for arabic i get (Z). i just Add & at the end

    ReplyDelete

Post a Comment