>Hi
>
>On my Nevigational buttons I have set .picture and .disabled property to some bmp files.
>
>It works fine. Now I want to display different bmp file when the mouse pointer is there on the button and it is not disabled. And when mouse moves out of the button then the old bmp (i.e. default bmp) should be displayed.
>
>I have return the following code on mousemove event of command button
>if this.enabled = .t.
> this.picture = "new.bmp"
>endif
>
>This works fine. But how can I set the default picture when the mouse is moved out of button. I am using VFP6.
>
>
>Thanks in Advance
>
>Ashish Patel
I'm using VFP 7 so I'm not sure if this event exists in VFP6, but there is a MouseLeave() event where you can set it back.
Mark Swiencki
EPS Software Corp.