V
Vadim Rapp
Hi:
On my form, I have textbox and combo box. Form's KeyPreview = True. It does
work for the textbox, but not for the combo. I.e.
Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles MyBase.KeyPress
me.Text = e.KeyChar
End Sub
does intercept keys pressed in the textbox, but not in the combobox. Is
there any explanation for this?
thanks,
Vadim
On my form, I have textbox and combo box. Form's KeyPreview = True. It does
work for the textbox, but not for the combo. I.e.
Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles MyBase.KeyPress
me.Text = e.KeyChar
End Sub
does intercept keys pressed in the textbox, but not in the combobox. Is
there any explanation for this?
thanks,
Vadim