textBox

  • Thread starter Thread starter juli jul
  • Start date Start date
J

juli jul

Hello,
Which event can I use in order to catch the value before the editing and
the value after editing?
Thank you very much.
 
Hi,

Also you can use a instance variable to save the current value, like this:

string currentvalue= "";

void TextChanged.( object sender, ...)
{
// use textbox.Text
if ( txtbox.Text != currentvalue )
{
}
//update the variable
currentvalue = txtbox.Text;
}


cheers,
 
Back
Top