Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox Using Array
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00049215
Message ID:
00049226
Views:
52
>Maybe I misunderstand how 'requery' is used. According to the docs:
>
>"Use the Requery method to ensure a control contains the most recent data. The Requery method requeries the RowSource property and updates the list with the new values."
>
>I interpreted this to mean that if elements are added to the array that using 'requery' would update the list. Am I interpreting this incorrectly? If so, what would I need to do to refresh the list?

George,

I don't have an answer for you, but I am having a similiar problem. I'm changing the properties of a listbox on the fly using a method which creates an array when a commandbutton is clicked. I know the array is being created, and the listbox contains the correct number of rows, but each row is blank. I get the same result whether or not I use REQUERY.

If you are able to figure out your problem, please let me know. I'll do the same.

AL
Al Williams

Anola MB, CANADA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform