Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mousedown event not firing???
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Mousedown event not firing???
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01136011
Message ID:
01136011
Views:
55
Hi all, I'm doing a class that contains several image controls. The class is intented to mimic a toolbar with buttons showing special effects when the user hover the mouse over one of the buttons and another fx when it's clicked. I control the first effect on the mouse enter/mouse leave events and it works ok, now when the user click the button the intended image do not show for some reason. I put code on the mouse down/up events to hide the image displayed while the user is hovering over the control and show the on-click image (and in the click event for testing purposes) but it didn't show.

What can be wrong with this approach? The click event is firing properly but the image still didn't show. I'm using image controls as buttons instead of regular buttons because I'm using png images with transparency and they do not show well on buttons without loading'em on a image control anyway.
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Next
Reply
Map
View

Click here to load this message in the networking platform