Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox problem
Message
De
12/10/2001 15:27:45
 
 
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00567888
Message ID:
00567913
Vues:
18
>>Hey, I'm coding myself an irc-client ;) and I have a little problem with the textbox where all the text comes... it always goes back to the top when new text appears, any way of keeping it down?
>
>the textbox has vertical scrollbar which goes back to the top when new text appears... I want it to stay down, somehow

Use the SelStart and Len() function to reposition the insertion point within the textbox:
txtEdit.SelStart = Len(txtEdit.Text)
Although this will put any new text to the bottom of the text box.
HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform