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:
00795383
Vues:
19
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



>>Hi Sergey,
>>
>>ThisFormSet.AddProperty(‘ListBox’)
>>Thisformset.ListBox + = CreateObject('ListW')
>>
>>
>>inside ListW I call
ThisFormset.FORM1.List1.Enabled =  .T.
>>
>
>You can't add a visual class to the formset, you must add it to one of the forms:
>
>
thisformset.form1.AddObject("ListBox","Listw")
>
>You'll now have your ListBox on your Form1 of your formset.
>
>Don't forget to make it Visible!
>
thisformset.form1.ListBox.Visible = .t.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform