
Quick Links:
Empeg FAQ
|
RioCar.Org
|
Hijack
|
BigDisk Builder
|
jEmplode
|
emphatic
Repairs: Repairs
|
#299639 - 25/06/2007 09:51
Re: VB.NET problem
[Re: StigOE]
|
new poster
Registered: 07/04/2001
Posts: 23
Loc: Lancs UK
|
Quote: Oh yes, another 'problem'. How can I get the textbox to stay at the last 'entry'? Now it jumps to the beginning of the text. Is this because the way I add text to the textbox, is by setting the text to be the old text & new text? Would it be better to use a richtextbox instead?
If you update the text in the textbox using:
textbox1.selectedtext = "new text"
with this method there is no need set the textbox equal to what is already there + the new text.
then use:
textbox1.scrolltocaret()
this will leave the textbox displaying the last entry you added, you will also need vertical scrollbars enabled too.
Mark.
|
Top
|
|
|
|
|
|
|