Print Page | Close Window

Execute event lost

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7092
Printed Date: 16 November 2024 at 11:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Execute event lost
Posted By: Slater
Subject: Execute event lost
Date 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



Replies:
Posted By: Oleg
Date Posted: 09 May 2007 at 8:26am
Hi,
Do you use C#/VB.NET from VisualStudio 2005?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Slater
Date Posted: 09 May 2007 at 9:19am

I use C# in VS2005



Posted By: Oleg
Date Posted: 10 May 2007 at 1:39am
Hi,
 
Please check solution in https://forum.codejock.com/forum_posts.asp?TID=5202 - https://forum.codejock.com/forum_posts.asp?TID=5202


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Slater
Date Posted: 10 May 2007 at 5:18am
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.


Posted By: Slater
Date Posted: 10 May 2007 at 5:20am
Idea: the Event hook stucks inside the step of the Execute event therefore it cannot be raised again.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net