Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrolling a textbox in Real time
Message
De
21/11/2014 14:10:26
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01611294
Message ID:
01611302
Vues:
57
>Hi Gang!
>
>Question.....
>
>I have a form with a textbox ( or it could be a listbox if I need to use that instead ) for output.
>
>I am placing text in this textbox, one bit of text after the other, line after line, for real time output as I modify some data.... something for the user to see.
>
>Problem is, the text fills the textbox, but does not scroll upward as it fills up after it is full.... I would like it to scroll upward and allow the user to see the new information in real time.
>
>How to get it scroll in real time ???

I use a listbox. Added a line each time I needed it, and when it was full, I'd delete the first line and add a new one. Last time I did this I think I used an array as rowsource, so I'd just adel() to remove the first row, then write the new text in the last, .requery(), and not sure whether refresh was necessary, may need testing.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform