Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Combos
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00578872
Message ID:
00580042
Vues:
20
>I think you should set Value property not DisplayValue.
>
>>Summary:
>>The basic problem is I am setting the displayvalue of serveral combo boxes and although the displayvalue property holds the correct value the controls are not displaying any data.
>>
>>Details:
>>I have a set of 7 combo boxes on a pageframe page. When the page is activated
>>I set the displayvalue of the combo boxes based on data in a table. The problem is the combo boxes show no data even though their respective displayvalue properties have data in them. I can get the data to show up if I click over to another form and then click back to this form. I've tried putting "ThisForm.Refresh()" in several different places and nothing seems to work.
>>
>>These combo boxes have style properties set to 2 (dropdown list). I have other combo boxes on this same page that work fine but their style properties are set to 0 (dropdown combo). The values I am trying to display are in the .list array, however, so I'm not sure why the style properties would matter.
>>
>>This is happening on a Win2K server machine in both VFP6 sp5 and VFP7.

Thanks, that worked.

I've always used "DisplayValue" I guess I use "Value" from now on.
Rip Ryness
International Falls, MN
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform