Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with combobox
Message
From
20/06/2019 12:26:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01669212
Message ID:
01669227
Views:
42
>
>As i said before to another user, the problem is in the controlsource of the combobox. If i delete the actual controlsource and leave it empty the control works fine. The same if i insert a field of a table. I have the problem if i set as controlsource an object. In this case i set "ThisForm.oTab.IdZo".... ThisForm.oTab is a form's property structured like you can have if you make a scatter name ThisForm.oTab command....

Michele,

The source structure should make no difference. What may depend is on how you're actually setting the ControlSource property. ControlSource = ThisForm.oTab.IdZo is not the same as ControlSource = "ThisForm.oTab.IdZo". The latter works as you expect, the former as you probably are observing.
----------------------------------
António Tavares Lopes
Previous
Reply
Map
View

Click here to load this message in the networking platform