How can I program the leave event when using code generated array of controls.
Posted on 2011-10-09
I am fairly new to VB.net express 2010 and would like help with problem. I have a form that is populated with one line of controls at a time, there is a maximum of twenty lines. Each line consists of text boxes and list boxes. What I want to do is update the text in one of the textbox's when one of the others has lost focus. For example looking at line #1.
controlArray(2,0) is a 'Quantity' textbox
controlArray(5,0) is a 'Price Unit' textbox, when this text box looses focus update...
controlArray(6,0) 'Extended Price' textbox.
I have seen some addHandler examples but cant get the syntax right with my example.