Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code works in object on form but not as class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00158755
Message ID:
00160182
Views:
18
Jayesh,

That is just a native combobox dropped on a form, try it for yourself. Evidently VFP is doing some internal trickery.

>I think you have dropped combo on a Container Class because as you said above
>it goes to myform.mycombo..text1.Destroy(). Since Combo is not a container object, there should not be any .text1 reference.
>
>If you want to create a pure combo box class, recreate it and base it on ComboBox not on any Container Class.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform