Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How may I access controls with in a formset from VXC?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00795340
Message ID:
00795430
Views:
20
Hi Ali,

Your object cannot reference Thisformset becose it doesn't belong to the FormSet. You''ll have to pass Thisformset as a parameter to your object when you call it or get reference to the formset some other way. Can you provide more info about that control and how you call it?

>Hi Fred,
>
>I added my VCX to one of my forms, but still I have the same problem. I might confused you by choosing ListBox as a name for my VCX, so:
>
>ThisFormSet.Form1.AddProperty(‘MyVCX1’)
>Thisformset.Form1.MyVCX1 = CreateObject('MyVCX')
>
>
>Inside DblClick() event of a listBox which is located in MyVCX, I call
ThisFormset.FORM1.List1.Enabled =  .T.
>
>
>I hope it makes sense.
>
>Thank you very much,
>Ali
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform