Diesel Posted September 18, 2005 Posted September 18, 2005 For example: When the user enters any vowel into the Textbox, I want it to appear in Bold. Quote
cyrilgupta Posted September 19, 2005 Posted September 19, 2005 Use a richtextbox For example: When the user enters any vowel into the Textbox, I want it to appear in Bold. Use a richtextbox. It has the capabilities to style text. You will have to write the code to detect the vowel yourself. Maybe you can use the keypress event. Quote
Diesel Posted September 19, 2005 Author Posted September 19, 2005 I realize this. I want to know if it can be done in a Textbox. Quote
*Experts* DiverDan Posted September 19, 2005 *Experts* Posted September 19, 2005 It probably can with a custom user contorl inheriting a textbox. Then bold the vowels in the Overrides On Paint Sub.......I personally think a rich text box might be eaiser. Quote Member, in good standing, of the elite fraternity of mentally challenged programmers. Dolphins Software
Diesel Posted September 19, 2005 Author Posted September 19, 2005 I can't inherit from Textbox. FYI, this is not a practical question, just an informative one. Quote
*Experts* DiverDan Posted September 19, 2005 *Experts* Posted September 19, 2005 IT CAN INHERIT FROM A TEXTBOX!!!! and the coding of this type of textbox is quite simple!!! Maybe after you've written some inherited textbox user controls you'll reframe from silly statements like "I can't inherit from TextBox" in the future and simply ask now!!! Quote Member, in good standing, of the elite fraternity of mentally challenged programmers. Dolphins Software
Diesel Posted September 19, 2005 Author Posted September 19, 2005 For the purposes of this question, I can't inherit from a textbox. If you don't know how to do it, don't keep guessing. Quote
*Experts* DiverDan Posted September 19, 2005 *Experts* Posted September 19, 2005 Diesel, you are a mass of confussion and contradiction!!! I want to know if it can be done in a Textbox. I answered yes, it can be done. If you don't know how to do it, don't keep guessing I do know how to do it and have done it with very complicated Chinese characters, that's why I suggested it to you, the person who doesn't know how to do it. Quote Member, in good standing, of the elite fraternity of mentally challenged programmers. Dolphins Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.