Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the face of a button when it has focus? 1

Status
Not open for further replies.

SnyAc

Programmer
Jul 25, 2001
272
US
I've converted a 2.6 app to VFP and my beta testers all tell me that it is difficult for them to tell when a button has focus. How can I change the color of the face of the button when it has focus?

Thanks - Andy Snyder
 
SnyAc

In the .GotFocus event put:-

THIS.Forecolor = RGB(255,255,255)

In the .LostFocus event put:-

THIS.Forecolor = RGB(0,0,0)

Chris :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top