Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - TabWorkspace RClick event
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TabWorkspace RClick event

 Post Reply Post Reply
Author
Message
MarcelN View Drop Down
Newbie
Newbie


Joined: 20 December 2004
Location: Netherlands
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarcelN Quote  Post ReplyReply Direct Link To This Post Topic: TabWorkspace RClick event
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
MarcelN View Drop Down
Newbie
Newbie


Joined: 20 December 2004
Location: Netherlands
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarcelN Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.