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

Click here to load this message in the networking platform