|
-
Nov 30th, 2002, 06:39 PM
#1
Thread Starter
Junior Member
TextBox woes... Scrolling and Color
Hello,
I'm hoping someone can help me out here...
If I "TextBox1.Enabled = False" so that text can not be typed or even selected, the ForeColor for that TextBox1 (the font color) is changed automatically to a sort of greyed-out bronze color. How can I keep the "TextBox.ForeColor = System.Drawing.Color.Black" regardless of wether or not the control is enabled. I'm guessing it has something to do with deriving my own CustomTextBoxClass, but an example would be really helpful.
Also, how would I scroll the text in TextBox1 from left to right and back again automatically, without showing any scrollbars, if the text is longer than the width of the TextBox? I'm looking for the same effect used in WinAmp when it's scrolling the song title back and forth.
Thanks!
Kosta
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|