News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Syntax for using Ampersand (&) in labels, etc. Ver 16.01 Linux.

Started by Aaron, April 12, 2017, 07:21:49 PM

Previous topic - Next topic

Aaron

Does anyone know the required syntax for using the '&' character in labels, etc?

Placing one '&' in a label produces a space, two '&' characters produce an underscore.

I did search the manual & forums for this answer.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Aaron


sodev

Looks like wxWidgets coding issues, not Codeblocks fault.

BlueHazzard

http://docs.wxwidgets.org/3.0/classwx_menu_item.html

QuoteThe label string for the normal menu items (not separators) may include the accelerator which can be used to activate the menu item from keyboard. An accelerator key can be specified using the ampersand & character. In order to embed an ampersand character in the menu item text, the ampersand must be doubled.