Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command buttons on a form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00267699
Message ID:
00267770
Views:
23
Hi Timothy,

Have you looked at the FFC _mouseoverfx class? It highlights a button (could easily be modified to change and button's size).

From the mousemove method in a button call
thisform._mouseoverfx.highlightme(this)
In the form mousemove call
thisform._mouseoverfx.cancelhighlight().
You can use it as an example for what you are doing. It seems pretty slick.
hth

>>>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)
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform