C
Colin McGuire
Hi, can I ask what I should be doing below. For some reason the method
KeyDown doesn't exist in MyBase.
Thank you
Colin
Private Sub TextBox1_KeyDown(ByVal sender As Object, _
ByVal e As System.Windows.Forms.KeyEventArgs) _
Handles TextBox1.KeyDown
'
'if something then
' possibly do some things
'end if
'
MyBase.KeyDown(sender, e) 'ERROR HERE, KEYDOWN DOESN'T EXIST
End Sub
BTW, and not that relevant, the 'things' I am wanting to do in the
if/endif structure is detect if a pound, euro, or dollar character is
present, then change the currency in a combobox elsewhere on the form
to show the correct currency. But I still want my keys to be processed
normally so I want to call MyBase.KeyDown and this is why I am trying
to.
KeyDown doesn't exist in MyBase.
Thank you
Colin
Private Sub TextBox1_KeyDown(ByVal sender As Object, _
ByVal e As System.Windows.Forms.KeyEventArgs) _
Handles TextBox1.KeyDown
'
'if something then
' possibly do some things
'end if
'
MyBase.KeyDown(sender, e) 'ERROR HERE, KEYDOWN DOESN'T EXIST
End Sub
BTW, and not that relevant, the 'things' I am wanting to do in the
if/endif structure is detect if a pound, euro, or dollar character is
present, then change the currency in a combobox elsewhere on the form
to show the correct currency. But I still want my keys to be processed
normally so I want to call MyBase.KeyDown and this is why I am trying
to.