OlkTextBox.AfterUpdate does not fire
Just found the reason: This event ONLY fires if a field is connected to the control. If you have just the control it does nothing.
Best
Tom
"escamoteur" schrieb im Newsbeitrag ...
Hi,
I try to react on a change in a Textbox on a User Formregion in Outlook 2007.
Strangely it does not fire. If I use the KeyDown event of the Textbox it works fine, but before and after update does noch work.
Here is how I setup the event:
txtAddress.AfterUpdate += new Microsoft.Office.Interop.Outlook.OlkTextBoxEvents_ AfterUpdateEventHandler(adressChange);
void adressChange()
{
contactModified = true;
}
I tried to use the Change event, but that does already fire when I initialized the Control before hooking up this event.
Best
Tom
|