Print Page | Close Window

TabWorkspace RClick event

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1561
Printed Date: 15 November 2024 at 5:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TabWorkspace RClick event
Posted By: MarcelN
Subject: TabWorkspace RClick event
Date Posted: 20 December 2004 at 1:52am
Hi,

I've been experiencing some problems with the RClick event of TabWorkspace. Most of the time it doesn't get fired, and when it does it stops working after a short period of time.

I would like to know if this is a known issue, andif there is a workaround for the problem?

I'm using Visual Studio 2005 Beta 1 (c#), tried to do the same in Visual Studio 2003 (c#), but it didn't work as expected either.



Replies:
Posted By: Oleg
Date Posted: 20 December 2004 at 5:08am

You must move Workspace declaration from local scope to variables of form.

 

XtremeCommandBars.TabWorkspace Workspace; //after

private AxXtremeCommandBars.AxCommandBars CommandBars;

 

...

...

...

Workspace = CommandBars.ShowTabWorkspace(true);

Workspace.RClick += new XtremeCommandBars.ITabWorkspaceEvents_RClickEventHandler(this.frmMain_RClcik);

 



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


Posted By: MarcelN
Date Posted: 20 December 2004 at 7:13am
Right..... I could have known that, but instead, I've been trying all kinds of different solutions..... Maybe next time I should sit down and think first ;)

Thanks!



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