|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
(newbie -VB 2005 EE) TextBox questionHello, so far everything goes well in learning VB, at my age :-)
But I have a problem ... My program uses a TextBox, readonly, just to display text. Something that bothers me is that there is always a blinking cursor and many times the text gets selected too ... I don't need both of them. How can I avoid that? As far as I can find out, there are no options to set for this. Thanks Vito Have you tried just using a label to display results? You can change
the borderstyle to make it look similar to a textbox (but it's not perfect). Thanks, Seth Rowe Opa Vito wrote: Show quoteHide quote > Hello, so far everything goes well in learning VB, at my age :-) > But I have a problem ... > > My program uses a TextBox, readonly, just to display text. Something > that bothers me is that there is always a blinking cursor and many times > the text gets selected too ... I don't need both of them. > How can I avoid that? > > As far as I can find out, there are no options to set for this. > > Thanks > > Vito rowe_newsgroups schreef:
> Have you tried just using a label to display results? You can change Seth, thanks for the tip, it works great for me. There's no difference > the borderstyle to make it look similar to a textbox (but it's not > perfect). with a TextBox as far as I can see, so this is a good solution. I only had to find/replace a few lines of code. Vito |
|||||||||||||||||||||||