Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing text on a combobox
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Editing text on a combobox
Miscellaneous
Thread ID:
00801442
Message ID:
00801442
Views:
49
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
Next
Reply
Map
View

Click here to load this message in the networking platform