Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I access properties within a container class
Message
De
14/09/1998 17:04:55
 
 
À
14/09/1998 16:56:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00136450
Message ID:
00136464
Vues:
18
>>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
Fil
Voir

Click here to load this message in the networking platform