Close [x] on PropertyPage

Add-in Express™ Support Service
That's what is more important than anything else

Close [x] on PropertyPage
PropertyPage/Outlook hangs after click into a Checklist/Valuelist and try to close PropertyPage via [x] 
Ingo Klein




Posts: 11
Joined: 2010-07-29
Hi Guys,
i just encountered a strange Problem.
I made a PropertyPage with a few Controls on it.
Two of them are a Checklistbox and a ValuelistEditor.
If i click on one of both Controls and click the [x] of
the PropertyPage on the Right Top Corner, my Outlook
just freezed.

I put a Breakpoint to any Event of the PropertyPage but
none of the Events get Fired after Clicking on [x].

any Idea how to detect the Problem ?
btw "OnMouseUp" won't work ether.

Thanks in advance,
Ingo
Posted 05 Oct, 2010 05:50:37 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi Ingo,

To check if this is a bug in our code, we need to reproduce that behavior. What Add-in Express build do you use? What Outlook build number do you have? If this is Outlook 2010, what is its bitness?


Andrei Smolin
Add-in Express Team Leader
Posted 05 Oct, 2010 05:58:48 Top
Ingo Klein




Posts: 11
Joined: 2010-07-29
Hi Andrei,
We are using Outlook 2007(12.0.6539) and i just upgraded Addin-Express to adxvcl-v601-b0754-pro yesterday to see if this helps to aviod the Problem.
I also made a Test PropertyPage with only 2 Controls on it (Checklist/Valuelist) and this works without any Problems, so i guess the Error is on my Side.
Maybe it has something to do with loosing the Focus.

What i just realised is,that after pressing the [x], Outlook starts to spawn the "Microsoft Office Program Recovery"-Process (C:\Program Files\Common Files\Microsoft Shared\office12\offlb.exe) so Outlook seems to acknowledge the Crash already.
Posted 05 Oct, 2010 06:11:27 Top
Ingo Klein




Posts: 11
Joined: 2010-07-29
Hi Andrei,
i was able to reproduce the Error in an Example Application.
You'll need JVCL 3.34 (Jedi) for it.
Is there any Emailadress where i can send you the Code ?

Best regards
Ingo
Posted 05 Oct, 2010 06:23:36 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi Ingo,

You can send it to the support e-mail address, see {Add-in Express}\readme.txt. Please make sure your e-mail contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 05 Oct, 2010 06:33:53 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi Ingo,

May I ask you test the same behavior with stanadard controls?


Andrei Smolin
Add-in Express Team Leader
Posted 06 Oct, 2010 08:09:03 Top
Ingo Klein




Posts: 11
Joined: 2010-07-29
Hi Andrei,
i oversight your last Post,sorry.
I just checked it and i also got the Problem with Standard VCL's.

As soon as i put a Control on a Tabsheet and Focus this Control,
the ProprertyPage won't close.
If i put the Control directly on the PageControl without a Tabsheet,
everything worked fine.

Hope it helps to figure out what's happening here.

Best Regards,
Ingo
Posted 06 Oct, 2010 09:54:24 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi Ingo,

Unfortunately, our tests show that you cannot add TabSheet controls onto the options page; it looks like this is a restriction of the Outlook windowing. We get the same problem for .NET controls, for instance.


Andrei Smolin
Add-in Express Team Leader
Posted 07 Oct, 2010 10:40:13 Top
Ingo Klein




Posts: 11
Joined: 2010-07-29
:cry:

Okay ..then i have to separate my Options for the different functions.
mmhh...

Is it possible to have more AddIn's running at the same Time,
reacting on the same TAddInModule.adxOutlookAppEvents1ItemSend Event
without interfering each other ?

Because now I combined 2 AddIn?Â?Ð?és into 1 DLL to be sure that they don?Â?Ð?ét
interfere at the ItemSend Event.
And that?Â?Ð?és why my PropertyPage needs TabSheet Controls.

Thanks for the Support,
Ingo
Posted 08 Oct, 2010 04:00:25 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Ingo,

Is it possible to have more AddIn's running at the same Time,
reacting on the same TAddInModule.adxOutlookAppEvents1ItemSend Event
without interfering each other ?


Yes, it is possible, each add-in that intercepted the ItemSend event will handle it in its turn, i.e. the add-in that loaded first will be the first to handle this event, the add-in loaded second will handle it after the first and so on.
Posted 08 Oct, 2010 12:06:08 Top