Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Feb : displaying ampersands in label captions

www.cryer.info
Managed Newsgroup Archive

displaying ampersands in label captions

Subject:displaying ampersands in label captions
Posted by:"David S" (nowhe..@nohow.com)
Date:19 Feb 2007 19:55:38

How do you display ampersands ('&') in TLabel.Caption values so they don't get converted into underscores?  I've always thought this was a property of menu items, not regular TLabels.  I guess I've never had to do it before.

I'd like to not have to double-up the ampersands if at all possible because I use the caption value later for other things.

Thanks
-David

Replies:

www.cryer.info
Managed Newsgroup Archive