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:
00795372
Views:
18
>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.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform