Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrolling an Editbox programatically
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00422362
Message ID:
00422787
Vues:
11
Yeah - I think your right about it going below bottom. I think I had to MyEditBox.SetFocus and then KeyBoard {'PgDn'}. But this method does make a lot of sense.

>Hi Terry,
>Thanks for th response.
>I am, in fact, adding chr(13)to the end of a line to format the output. That does not cause the edit box to scroll - the lines just disappear below the bottom. I have used Trey's suggestion and it works well:
>WITH thisform.editbox
> .SelStart = LEN(.Value)
> .Refresh()
>ENDWITH
>
>
>
>>>Help!
>>>I'm trying to scroll an edit box programatically so that it displays progress messages which are being added incrementally to it (the equivalent of keeping the vertical scrollbar at the bottom).
>>>
>>>TIA
>>Try adding a chr(13) at the BEGINNING of the output:
>>MyForm.MyEditBox.Value = MyForm.MyEditBox.Value+chr(13)+"This edit box line shows on the next line"
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform