Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing List Boxes
Message
De
16/10/2004 00:08:21
 
 
À
15/10/2004 20:15:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00951896
Message ID:
00951907
Vues:
12
This message has been marked as the solution to the initial question of the thread.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform