Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Steve.
One way to do it is to set the SelStart property of your EditBox to zero.
ThisForm.Edit1.SelStart = 0
ThisForm.Edit1.SetFocus()
-Michael M. Emmons
>Is there a way to reset an editbox to the top line when you have scrollbars down the right side of the editbox?
>
>I scroll down with my mouse, but then I want to press a command button and have the editbox automatically reset to the top line of the text inside the editbox.
>
>I have not figured out the best way to do it.
>
>Thanks for helping.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement