Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox
Message
De
24/08/2008 18:39:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/08/2008 18:33:34
James Wolff
Creative Computing, Inc
Angola, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01341401
Message ID:
01341402
Vues:
15
>I have 2 combo boxes on a form.
>ComboBox 1 has a List of Weeks.
>ComboBox 2 has a list of events for that week.
>In ComboBox 1 InteractiveChange event, I have code to requery cboBox2
>This works fine.
>My problem is that I want combobox 2 to show the first item after the requery without my clicking on the combo box to see it.
>I have tried several methods in the comboBox 1 InteractiveChange procedure, but none work!
>I think this would be a common desire and would appreciate your help.
>Thanks
>Jim Wolff

Did you include a refresh? E.g. ThisForm.ComboBox2.Refresh()
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform