Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox not refreshing
Message
De
03/11/2002 03:01:41
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
À
02/11/2002 13:56:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00718185
Message ID:
00718258
Vues:
15
This message has been marked as a message which has helped to the initial question of the thread.
>In valid event I add a value to my combobox and after that (still in the valid) I issue the following code
>
>this.Value = This.DisplayValue
>this.Requery()
>
>
Denis
You did not add anything at all
If the rowsourcetype=1
you have to use additem methid to add new item to box
Displayvalue and value are not neccesary same
For example in init of the combo you can write
this.additem('one')
this.additem('two')
etc
and this value=1
this gives correspondance of one displayvalue and value=1
Valid is not good for combo.
Try got focuss or something else
For example
in got focus you can write
this.additen('next')
this.requery()
this.displayvalue='next'
Best wishes, Vladimir

>What should I do to make this work?
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform