I found that if I set the Caption of TPanel, TLabel or TRadioGroup with a string containing "&" character, it is not displayed and the next character is underlined. How can I stop this? I want the caption to be displayed with the exact string I set.
For TLabel and TStaticText, set ShowAccelChar property to False (default is True). For TPanel, TRadioGroup etc you need to use double ampersand.
You may also want to take a look in help for TLabel.ShowAccelChar, for a description how TLabel.ShowAccelChar and TLabel.FocusControl are related.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With