General information
Category:
Forms & Form designer
>>>>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only