Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing List Boxes
Message
De
19/10/2004 20:23:53
 
 
À
18/10/2004 17:58:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00951896
Message ID:
00952858
Vues:
10
Glad to be of help. =)

Sincerely,

Dennis

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform