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:
00160854
Views:
22
Hi David,

Thanks for information. I didn't know about it. I shall try it here and update you with my findings.

Again thank you very much.

Bye
Jayesh

>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.
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform