Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slick trick for a command button
Message
From
04/11/2005 13:07:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Slick trick for a command button
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01065541
Message ID:
01065541
Views:
66
For a command button

Mouse Enter
LPARAMETERS nButton, nShift, nXCoord, nYCoord
this.caption = "Some text"
Mouse leave
LPARAMETERS nButton, nShift, nXCoord, nYCoord
this.caption = ""
Create and place a jpg the size of the button, over the button. I use a gradient fill in the jpg.

When the mouse passes over the jpg, it will raise like an eyelid and expose the text on the button for clicking.
I ain't skeert of nuttin eh?
Yikes! What was that?
Next
Reply
Map
View

Click here to load this message in the networking platform