Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Setting hotkey of textbox filter_list
Author
Message
Setting hotkey of textbox #1
how can set keys Through textbox Like This
Code:
Protected Overrides Function ProcessCmdKey(ByRef msg As Message, ByVal keyData As Keys) As Boolean
        If keyData = (TextBox1.Text) Then
            Label1.Text = TextBox1.Text
        End If
    End Function
it is work when add code
Code:
Protected Overrides Function ProcessCmdKey(ByRef msg As Message, ByVal keyData As Keys) As Boolean
        If keyData = (Keys.A) Then
            Label1.Text = TextBox1.Text
        End If
    End Function
but if i need change it from application i will need to write name button in textbox
so how i can do this any one have a idea !

-Thread title changed by Moderator

Reply





Messages In This Thread
Setting hotkey of textbox - by absde20 - 03-17-2013, 10:47 PM



Users browsing this thread: 1 Guest(s)