Colleagues,
In other IV-level languages (at least B4 .NET), I could do something like this (quasi-code, of course)
As it happens, such a need arose in my project (VS 2019, VB .NET). I tried to figure out how to do this call - and failed.
And this article in Help, doesn't help me.
Could anyone here "translate" this above code into this modern VB .NET, please?
TIA!
Regards,
Ilya
In other IV-level languages (at least B4 .NET), I could do something like this (quasi-code, of course)
Code:
PROC cboNumOfItems.SelectedIndexChanged()
IF cboNumOfItems.Selected Index > 0
chkAllInOne.Enabled = True
ELSE
chkAllInOne.Enabled = False
ENDIF
ENDPROC
PROC cboNumOfItems.KeyPress(KeyCode)
IF KeyCode = 13
cboNumOfItems.SelectedIndexChanged() ' Calling another event procedure
ENDIF
ENDPROC
As it happens, such a need arose in my project (VS 2019, VB .NET). I tried to figure out how to do this call - and failed.
And this article in Help, doesn't help me.
Could anyone here "translate" this above code into this modern VB .NET, please?
TIA!
Regards,
Ilya