Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command buttons on a form
Message
From
22/09/1999 15:20:17
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00267699
Message ID:
00267723
Views:
17
>>>>>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
Map
View

Click here to load this message in the networking platform