Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I access properties within a container class
Message
From
14/09/1998 17:04:55
 
 
To
14/09/1998 16:56:02
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00136450
Message ID:
00136464
Views:
17
>>How do I access properties within the container since during the design controls are not actually on a form?
>
>In the class designer, you should be able to see all your controls and access them visually just as though they were on a form and you should be able to get at all their properties in the property sheet just the same way.
>
>Maybe I am not understanding your question clearly.
>
>Pamela

Sorry, my question is probably unclear I am a novice when it comes to this class stuff. Let me try again. I have created a class based on a container control - name is minical. Inside the container I have the MS calendar and 2 command buttons. In the click event of each command button I want to issue either the nextmonth or previousmonth method of the calendar. My confusion is how to issue this command. If I were putting these controls on a form I would write:

thisform.calendar1.nextmonth()
or
thisform.calendar1.previousmonth()

How can I do this in the class?

Thans for the response.
Dave
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform