?
=?ISO-8859-1?Q?Paul-Andr=E9_C=F4t=E9?=
Hi,
I've been playing with VBx and VB.NET for a while
now but ...
Let say in VB.Net, I've never understood how or
which event I should use when I update one of two
interdependent textboxes.
Let say I've 2 textbox : TB1 and TB2.
TB2 depends sometimes of TB1.
TB1 may be modified by the user.
If so TB2 must take TB1 value, if boolean B1 is
true, else TB2 is unchanged.
TB1 may be set within VB code, then TB2 mustn't
change.
So here's my questions :
1) Where could I find informations on how to
manage interdependent textbox ?
2) Which event would be thrown if it's the user
who have changed TB1?
3) Which event would be thrown if the changing
was done within VB ?
4) How can I make the difference in VB ?
5) Is there a way to turn off events, so in code I
could say "Don't bother with "changed"
events for the next few instructions?
Thanks for any helps,
Paul
I've been playing with VBx and VB.NET for a while
now but ...
Let say in VB.Net, I've never understood how or
which event I should use when I update one of two
interdependent textboxes.
Let say I've 2 textbox : TB1 and TB2.
TB2 depends sometimes of TB1.
TB1 may be modified by the user.
If so TB2 must take TB1 value, if boolean B1 is
true, else TB2 is unchanged.
TB1 may be set within VB code, then TB2 mustn't
change.
So here's my questions :
1) Where could I find informations on how to
manage interdependent textbox ?
2) Which event would be thrown if it's the user
who have changed TB1?
3) Which event would be thrown if the changing
was done within VB ?
4) How can I make the difference in VB ?
5) Is there a way to turn off events, so in code I
could say "Don't bother with "changed"
events for the next few instructions?
Thanks for any helps,
Paul