>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement