I presume that you would override the .Change event on the textboxes? Which language are we talking about? Presuming C#, you would create an eventhandler for it, like this:
this.textbox.change += new EventHandler (myFunctionName);
Then later in your code:
void myFunctionName(object Sender, EventArgs e) { do something here; }
That's what I'd recommend.