- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Using Amperands inside Delphi

Question:

How can I make a Window control's text property contain an ampersand character?

Answer:

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:

Button1.Caption := 'This && That';



* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile