Dec 14, 2000 #1 DanNorris2000 Technical User Joined Nov 10, 2000 Messages 186 Location US Is there a way to change the color of a command button on a form if I move the pointer over it? highlighting the option?
Is there a way to change the color of a command button on a form if I move the pointer over it? highlighting the option?
Dec 14, 2000 #2 jonscott8 Programmer Joined May 12, 2000 Messages 1,317 Location US Hi Dan, In the FoxPro Foundation Classes (FFC), there is a class to do this very thing. Check it out. Class: _mouseoverfx Class Library: _ui.vcx Example of use: mousefx.scx Jon Hawkins jonscott8@yahoo.com The World Is Headed For Mutiny, When All We Want Is Unity. - Creed Upvote 0 Downvote
Hi Dan, In the FoxPro Foundation Classes (FFC), there is a class to do this very thing. Check it out. Class: _mouseoverfx Class Library: _ui.vcx Example of use: mousefx.scx Jon Hawkins jonscott8@yahoo.com The World Is Headed For Mutiny, When All We Want Is Unity. - Creed
Dec 14, 2000 1 #3 ChrisRChamberlain Programmer Joined Mar 23, 2000 Messages 3,392 Location GB Dan Jon's suggestion is the best way way of implementing the colour change you want. If you prefer not to use such a class, in the .MouseMove event of Command1 put :- THIS.ForeColor = RGB(255,255,255) In the .MouseMove event of the form put :- THISFORM.Command1.ForeColor = RGB(0,0,0) Chris Upvote 0 Downvote
Dan Jon's suggestion is the best way way of implementing the colour change you want. If you prefer not to use such a class, in the .MouseMove event of Command1 put :- THIS.ForeColor = RGB(255,255,255) In the .MouseMove event of the form put :- THISFORM.Command1.ForeColor = RGB(0,0,0) Chris
Dec 15, 2000 Thread starter #4 DanNorris2000 Technical User Joined Nov 10, 2000 Messages 186 Location US not really sure how to use classes yet? will try both though thanks Upvote 0 Downvote