![]() |
Execute event lost |
Post Reply ![]() |
Author | |
Slater ![]() Newbie ![]() Joined: 10 October 2006 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 09 May 2007 at 8:06am |
Hi All, I have the following problem: I catch the Execute event in a regular method for a commandbar button. Then it launches some printing methods that show Print preview and Page setup windows. After finishing inside those windows the Commandbar looses its Execute event (only that event).
Any ideas?
Regards,
Endre
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Do you use C#/VB.NET from VisualStudio 2005?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Slater ![]() Newbie ![]() Joined: 10 October 2006 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
I use C# in VS2005 |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Please check solution in https://forum.codejock.com/forum_posts.asp?TID=5202
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Slater ![]() Newbie ![]() Joined: 10 October 2006 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
First of all thank you. That topic really describes the problem but the solution does not work for me for the following reasons:
A) I use the chart control of Dundas. The chart control itself support printing and the chart control itself launches those dialogs. I have no influence on the actual dialog launch.
B) Other events stay alive such as resize. Also the control operates, I can switch between the tabs on the ribbonbar, hovering effects do work properly. However it does not fire the Execute event and only that event. Perhaps it is because the dialog is launched within the Execute event (clicking on Print).
![]() For some reason the control does not work properly. Since other events are OK and only Execute dies I feel that your control forgets to raise the event for some reason.
|
|
![]() |
|
Slater ![]() Newbie ![]() Joined: 10 October 2006 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
Idea: the Event hook stucks inside the step of the Execute event therefore it cannot be raised again.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |