Hi,
I am designing a c# program in Visual Studio. This program is a fitness tracker for persons with disabilities, specifically Down Syndrome. All of the buttons within the program are accessed by means of a simplified keyboard consisting of the arrow buttons, tab button, and enter.
What I am looking to do is make it so that when you arrow over to a specific button, it will change color so that the user can tell exactly where they are within the program or rows of buttons. I do not have the option to use a mouse but have seen the feature for mouseover which allows one to do what I am looking to do.
The simplest solution would be better as we have a delivery date for this project of May 7th.
Thanks kindly,
John
Loading

VulpesRank #55 · 29.2K reputationPosted Apr 19, 2012, 9:07 AM EDT
Kunal VaishyaRank #990 · 2K reputationPosted Apr 19, 2012, 4:30 AM EDT
let me know
Is it Web project or Desktop ?
Kunal VaishyaRank #990 · 2K reputationPosted Apr 19, 2012, 4:37 AM EDT
try this Code
Private Sub Button1_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.GotFocus
Button1.ForeColor = Color.Red
End Sub
Private Sub Button1_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.LostFocus
Button1.ForeColor = Color.Black
End Sub
John Luciani23 reputationPosted Apr 19, 2012, 5:28 AM EDT
John Luciani23 reputationPosted Apr 19, 2012, 5:32 AM EDT
Kunal VaishyaRank #990 · 2K reputationPosted Apr 19, 2012, 8:18 AM EDT
John Luciani23 reputationPosted Apr 19, 2012, 8:40 AM EDT
John Luciani23 reputationPosted Apr 19, 2012, 9:31 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 19, 2012, 5:36 PM EDT