How can I make a Window control's text property contain an ampersand character?
Use two ampersand characters. The Windows default text handling for controls interprets a single Ampersand character as meaning the next character is a hot key. Example: Button .Caption := 'This && That';
Source: http://www.delphi32.com/info_facts/faq/faq_184.asp
No comments:
Post a Comment