>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.
Hi Grady
As per your code above, you place this in the Mouse Enter/Leave of the button and then place a JPG OVER the button.
In that case the Mouse Enter and Leave of the button would never be fired,since the JPG is sitting over the button and its Mouse events would fire.
Have you left out something or am I missing something?