Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron User Interface for .NET
»
NRichTextLabel mnemonic and font support
NRichTextLabel mnemonic and font support
Post Reply
NRichTextLabel mnemonic and font support
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Craig Swearingen
Craig Swearingen
posted 10 Years Ago
ANSWER
Topic Details
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(&
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?
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
NRichTextLabel mnemonic and font support
Craig Swearingen
-
10 Years Ago
Hello Craig, To apply font to NRichTextLabel you need to set the...
Nevron Support
-
10 Years Ago
Thanks for responding. Good to know. I had missed seeing those...
Craig Swearingen
-
10 Years Ago
My previous forum reply seems to have gotten lost so I thought I'd try...
Craig Swearingen
-
10 Years Ago
Hello Craig, You can display underline using RichText mode too. All...
Nevron Support
-
10 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search