D
David Miller
Help,
I give up... I have a class that I created.
In the Load call of a custom control I bind a text box to the class that I
created.
The code for that part is: TxtLast.DataBindings.Add(New Binding("Text",
CurrentRecord, "LastName"))
If I change the value of the class in the Load call the text box that it
bound to updates with the new value. So if within the Load Proc of the
control there is a line that says CurrentRecord.Lastname = "Smith" the text
box will display "Smith".
But, if I change the value in any other procedure within that control the
textbox does not update it's value. What am I doing wrong?
Thanks,
David
I give up... I have a class that I created.
In the Load call of a custom control I bind a text box to the class that I
created.
The code for that part is: TxtLast.DataBindings.Add(New Binding("Text",
CurrentRecord, "LastName"))
If I change the value of the class in the Load call the text box that it
bound to updates with the new value. So if within the Load Proc of the
control there is a line that says CurrentRecord.Lastname = "Smith" the text
box will display "Smith".
But, if I change the value in any other procedure within that control the
textbox does not update it's value. What am I doing wrong?
Thanks,
David