Hi all, I have a TextBox Control of which I want to make bold the first couple of Characters. Is this at all possible, or will the Bold style be applied to the whole of the text within the TextBox Control The following is the code I have so far...
txtSnagListLocation.Font = new Font(FontFamily.GenericSansSerif, 12.0F, FontStyle.Bold);
Thanks
Tryst

Editting (making bold) certain characters in a TextBox Control.
greg derksen
I require the Control for a mobile Smart Device, so am not sure if it'd be compatible with that :-s
Thanks
Tryst
HelenL
not sure that you can do this with a textbox. I think you can only set the font on the entire textbox.
But there is a RichTextBox class which I'm sure you can do it with.
Regards
Jero
cada0310
Hi Tryst,
This newsgroup group is mainly for desktop .NET framework.
For embedded development, please post in the specified newgroup.
Smart Device Development
http://forums.microsoft.com/MSDN/default.aspx ForumGroupID=11&SiteID=1
If you still have any concern, please feel free to post here.
Best regards,
Peter Huang