Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing List Boxes
Message
From
18/10/2004 17:58:38
 
 
To
16/10/2004 00:08:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00951896
Message ID:
00952464
Views:
8
That did it, thank you very much.

>Rich,
>
>I believe you should have in your ResetPolicies() method a call to the Requery method of the listbox:
>
>
>ThisForm.lstPolicies.Requery()   && this will 're-load' the RowSource
>
>
>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform