Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>>>Is there a way I can identify all command buttons on a form so as to alter a property on them?
>>>>
>>>>How about just using SetAll
>>>
>>>Actually, I need the names of the individual cmd buttons( or other controls) so as to alter it's property individually.
>>
>>Cycling through, you could get a list of the names. What are you trying to do? Is it in design or run time?
>
>Your ASELOBJ function sounds like what I need. I am learning how to create classes and my object is to use the mousemove event to change the size of command buttons when the mouse is over it, for all my forms.
>sound feasable?
I'm still not sure what you are trying to do. I'm going to assume design time changes. If the command button is a subclassed command button you could just change the size in one place assuming you hadn't over-written the properties in your form and that should change the size in all the forms.
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