Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing List Boxes
Message
 
 
To
15/10/2004 20:15:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00951896
Message ID:
00952048
Views:
9
In addition to Dennis reply I believe, it should be
Rowsource = "Thisform.aPolicies", e.g. in quotes, if set in the code.

>VFP 6.0
>
>I have a list box (lstCustomers) and in the Interactive Change Event method I have placed the following code
>
>Thisform.ResetLables()
>Thisform.ResetPolicies()
>Thisform.Refresh()
>
>There is a second list box (lstPolicies) which is supposed to get refreshed by the second line of the code. It has
>Rowsource = Thisform.aPolicies
>RowSourceType = Array
>
>I've checked to ensure that when Thisform.ResetPolicies() finishes executing the array Thisform.aPolices has the expected information. It can contain several rows and the problem is that only the first row is displayed in the list box.
>
>Any ideas???
>
>Thanks to all...............Rich
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform