Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing text on a combobox
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Editing text on a combobox
Divers
Thread ID:
00801442
Message ID:
00801442
Vues:
50
I hope you guys can help me with this one. What I'm trying to accomplish is the following: when the user select one of the items in the CB he/she press a button on the form and the value of the combo can be edited within the same combo. To do that I have a method with the following code
   ThisForm.fCombo1.Style          = 0
   ThisForm.fCombo1.Rowsourcetype  = 0
   ThisForm.fCombo1.Controlsource  = ""
   ThisForm.fCombo1.Rowsource      = ""
   ThisForm.fCombo1.Displayvalue   = Tabla.Descripcion
This is supposed to convert the CB in some kind of text box and it does it but the value of the description field is emptied somehow. What I'm I doing wrong?

TIA,

Enmanuel
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform