Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit Box, Controlling visible text ...
Message
From
05/01/1999 09:54:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/01/1999 09:27:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00172728
Message ID:
00172744
Views:
29
>Okay folks, anybody got any ideas on this one ...
>
>The customer wants a scrolling log of status messages during a lengthy process run. The idea that occured to me was to use an edit box and stuff the message text along with a carriage return and line feed into the value ... Works fine as far as it goes, but the text scrolls off of the visible "window" and doesn't move. During the process the user doesn't have control and can't move the scroll bar themselves. What needs to happen is the last row of text in the edit needs to be visible at all times.
>
>I've tried stuffing key strokes in the update method. It stores up the key strokes and implements them when the process run is complete.
>
>Any thoughts ???
>
>Regards,
>
>Jason
Instead of editbox use a temp cursor + grid with no header, no gridlines. It would automatically show current entry as you setfocus to it and scrollable. Between processes you would insert the new line (record), grid.setfocus, and if called from an setfocusable object setfocus to it (otherwise grid could keep focus all the time).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform