On Change

  • Thread starter Thread starter Richard Harris
  • Start date Start date
R

Richard Harris

Hi,

In MS Access you used to be able to use the OnChange command in VBA to
modify something if the selected item in a combo box had changed. Does
anybody know how you can do this with a combo box in VB.NET ?

Many thanks
Richard
 
Hello,

Private Sub Cmbtype_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Cmbtype.SelectedIndexChanged
Txtuserid.Text = "Hello"
End Sub

Warm Regards,

Ayaz Ahmed
Software Engineer & Web Developer
Creative Chaos (Pvt.) Ltd.
"Managing Your Digital Risk"
http://www.csquareonline.com
Karachi, Pakistan
Mobile +92 300 2280950
Office +92 21 455 2414
 
Back
Top