A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

OlkTextBox.AfterUpdate does not fire



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 24th 09, 02:06 PM posted to microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba
escamoteur
external usenet poster
 
Posts: 147
Default OlkTextBox.AfterUpdate does not fire

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
Ads
  #2  
Old August 24th 09, 07:54 PM posted to microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba
escamoteur
external usenet poster
 
Posts: 147
Default 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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OlkTextBox.AfterUpdate does not fire escamoteur Outlook and VBA 1 August 24th 09 07:54 PM
Need Help for fire department Matt Melton Outlook and VBA 3 November 8th 08 07:47 PM
Application_ItemSend Doesn't Fire dch3 Outlook and VBA 2 May 19th 07 08:48 PM
FIRE WALL??? ECHO FREEMAN Outlook Express 3 April 13th 07 02:42 AM
Rules Don't Automatically Fire dln Outlook - General Queries 0 January 2nd 07 09:01 PM


All times are GMT +1. The time now is 09:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.