I am trying to make an app like Media Center on Windows XP. I have everythign done exept the cool buttons. I have regular buttons that I cannot control by pressing the down/up keys. How do I get them to work??
Printable View
I am trying to make an app like Media Center on Windows XP. I have everythign done exept the cool buttons. I have regular buttons that I cannot control by pressing the down/up keys. How do I get them to work??
What do you actually want that the buttons do if you press the
up/down button ? Want to switch to another button on the form ?
I never used Media Center, so thats why i ask :blush: :p
Yeah so basically lets say I have 5 buttons on my form. When I load it up I want one of them to be selected, then when I press down it selects the button below it.
http://www.vbforums.com/attachment.p...postid=1599669
hey yaall!!!!
this is my forst post in this forums :D
ok enough with theese. lets start helping.
-----------------------------------------
make a button with a cool img or a customcontrol with imports from button, and some additional features.
then:
VB Code:
Private Sub Button1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button1.KeyDown If e.KeyValue = Keys.Down Then Me.Button2.Focus() End Sub Private Sub Button2_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button2.KeyDown If e.KeyValue = Keys.Down Then Me.Button3.Focus() End Sub //etc...
http://www.vbforums.com/attachment.p...postid=1599758
Wish me a good start!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Yes, thanks it works!
Remember to mark your threads as resolved under the thread tools :)