Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrolling a textbox in Real time
Message
From
21/11/2014 14:10:26
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01611294
Message ID:
01611302
Views:
58
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform