Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>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.
>
>My goal is to have the size of command buttons change ONLY WHEN the mouse is over it and then change back to its normal size when the mouse leaves, for all commandbuttons,for all my forms. That is what I am trying to do. This happens during runtime(when the program(form) is running)
Interesting. ASELOBJ is mainly a design time tool.
You'll probably want to use the mouse over. You'll have to have refernces to all open forms and I believe you could still cycle through all the objects using the each forms control array to get to each command button.
HTH
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