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
Nevron Support
Nevron Support
posted 10 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hello Craig,
You can display underline using RichText mode too. All you need to do is to surround the desired text or character with <u> tag (<u><\u> ).
However, the NRichTextLabel does not support real mnemonic functionality as it is in the standard Label control.
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search