Home Forums WinForms controls Other WinForms controls Wincombobox Reply To: Wincombobox

User (Old forums)
Post count: 23064

Do you have a vb.net example of this. I am getting an error when I try it in vb.net

Public Sub New()

AddHandler wcbAssessment.TextBoxArea.KeyDown, AddressOf dd_Freeze

End Sub

I get this error
Method ‘Private Sub dd_Freeze(Sender As Object, e As System.Windows.Forms.KeyPressEventArgs)’ does not have the same signature as delegate ‘Delegate Sub KeyEventHandler(sender As Object, e As System.Windows.Forms.KeyEventArgs)’.

Imported from legacy forums. Posted by Ooh (had 382 views)