NRichTextLabel mnemonic and font support


Author
Message
Craig Swearingen
Craig Swearingen
Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)
Group: Forum Members
Posts: 99, Visits: 654
1) When I use an NRichTextLabel I've noticed that it doesn't honor its Font property.  It's using a different font.  When I put both a Label and an NRichTextLabel on my Form which has the same text string in it I can see it looks different.  When I change the text in the NRichTextLabel to be "<font size='8.25' face='Microsoft Sans Serif'>my comparison string</font>" thinking this is the same font as the Label is using while it does look similar its spreading the string out much further than the Label does.  Am I coding the size and face values correctly?

2) A common feature in a Label control is to use the ampersand(&Wink character to denote the mnemonic. When the user presses the Alt+mnemonic character focus goes to the control after the Label.  Is this support a part of the NRichTextLabel?  I was also looking at the NEntryContainer and I suspect it uses an NRichTextLabel for its label portion.  In the Nevron C# Examples program the toolkit provides it has an "Entry Controls" subtree showing two nice looking forms using the NEntryContainer but in a complete UX these forms would need mnemonic support.  Is there some way to accomplish this on those forms?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search