Underscore (mnemonic) appears on KryptonForm

Topics related to the Krypton Toolkit.

Moderators: Phil Wright, Chris Porter

Underscore (mnemonic) appears on KryptonForm

Postby scottjlawson » Wed Nov 10, 2010 1:14 am

When the caption of a KryptonForm has an ampersand (&) in the title, it appears as an underscore, like on labels. With a standard Form object it does not.

If you set it to && it gets rid of it, but then on the taskbar it appears as &&.

I'm using Windows 7 with .NET 4.0

Is this by design? Is there a way to disable this?
scottjlawson
 
Posts: 1
Joined: Wed Nov 10, 2010 1:03 am

Re: Underscore (mnemonic) appears on KryptonForm

Postby Phil Wright » Wed Nov 10, 2010 12:51 pm

You can use the following setting on the KryptonForm to get around the issue...

KryptonForm.StateCommon.Header.Content.ShortText.Prefix = None.
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia


Return to Krypton Toolkit

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron