Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Mouseovers on Forms (not using iecoolbars).
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00417791
Message ID:
00417820
Views:
20
>Hello,
>
>I need to create _true_ mouseovers on my forms. I've tried using the mouseoverfx but it keeps firing over and over. I just need it to behave like mouseover buttons on webpages. The iecoolbars are close but not quite. I don't need them to create a flat button I just need it to switch graphics when the mouse is over the image and switch back whenthemouse moves off.
>
>I was told there was a new file I can download here that does this but I can't find it.
>
>Hope someone has the answer I need =-) Thanks in advance.
>
>Bryan Smith

In the mouseover event of your button do something like this.

if this.picture # "MyMouseOverPicture"
this.picture = "MyMouseOverPicture"
endif

Then in the mouseover event of your form or containing object you will need some code to switch the picture back.

if this.cmdButton.picture = "MyMouseOverPicture"
this.cmdButton.picture = "MyNonMouseOverPicture"
endif
Rip Ryness
International Falls, MN
Previous
Reply
Map
View

Click here to load this message in the networking platform