Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto scroll for edit box?
Message
From
30/06/1999 12:50:45
Kenneth Downs
Secure Data Software, Inc.
New York, United States
 
 
To
30/06/1999 12:11:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00235976
Message ID:
00235998
Views:
20
Allen,

I use a listbox, with something like this:
oListbox.AddItem("My Status Text Here.")
oListbox.ListIndex = oListbox.ListCount
oListbox.refresh
You can always peel out the text from the listbox and put it into a memo field or text file later if you need to.

In fact, I peel it out and put it into a table, so the line-by-line nature of the listbox works better for me.

Hope this helps.

>I have an edit box with a vertical scroll bar on a form (VFP5 and VFP6). I use the box to keep track of an ongoing process by adding additional text to its value:
>
>ThisForm.status.Value=oldtext+newtext+chr(13)
>ThisForm.Refresh
>
>However, when the text length exceeds the box size I cannot see the new additions unless I manually scroll. Is there a way to make the text box scroll automatically so the newest text is always displayed?
>
>Thanks in advance,
>Allen
Previous
Reply
Map
View

Click here to load this message in the networking platform