P
Philipp Sumi
Hello newsgroup
If I enter 1 character in a textbox of a user control and then set the
focus to a control outside the user control, the "Text" property of the
control still contains the old value (without the entered character). If
I enter 2 characters or set the focus to a control within the containing
user control, everything is fine.
Strange enough: If I'm monitoring Change events of the textbox, I'm
getting two events:
- The first event when the character is being entered. The text property
is fine.
- The second event when the focus gets lost. The text property now
contains the old value. As mentioned, only if I enter only one character.
Any workaround on this?
Philipp
If I enter 1 character in a textbox of a user control and then set the
focus to a control outside the user control, the "Text" property of the
control still contains the old value (without the entered character). If
I enter 2 characters or set the focus to a control within the containing
user control, everything is fine.
Strange enough: If I'm monitoring Change events of the textbox, I'm
getting two events:
- The first event when the character is being entered. The text property
is fine.
- The second event when the focus gets lost. The text property now
contains the old value. As mentioned, only if I enter only one character.
Any workaround on this?
Philipp