Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatic changes to ListBox visible display
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00193836
Message ID:
00193873
Views:
12
Greg,
Have you tried THIS.value = xxxx where "this" is the listbox and "xxxx" is the value just entered in the listbox? You may have to preface it with a This.Refresh statement.

HTH
Barbara

>Hello,
>
>I am using a standard VFP ListBox control in an application for logging lines to such that a user can go back through the "log" and see what happened while my program is running or when the program finishes.
>
>Currently, when the lines in the ListBox fill the visible display, the newly added entries do not show immediately. I would like to add some code in my method which adds a new entry to this ListBox to call a property or method or something. Such that, it will automatically scroll to the very last list element with the assurance that it will also show up on the screen without requiring user-interaction.
>
>Suggestions appreciated.
>
>Thanks
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform