Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How may I access controls with in a formset from VXC?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00795340
Message ID:
00795430
Vues:
19
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform