Print Page | Close Window

Don't want VB Menu skinned with commandbar

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=12929
Printed Date: 07 October 2024 at 8:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Don't want VB Menu skinned with commandbar
Posted By: GrosQuick
Subject: Don't want VB Menu skinned with commandbar
Date Posted: 15 December 2008 at 7:57am
Hi,

first of all, sorry for my poor english.
So, this is the first time I use codejock component (v12.1.0)
I want to use tabworkspace, so I put a CommandBar control on my MDI Form as I saw in your vb sample
My problem is that I don't want the MDI Form Menu skinned with the Commandbar theme, and I don't see where I can disable it ?
Can someone help me ?



Replies:
Posted By: Oleg
Date Posted: 16 December 2008 at 1:41am
Hi,
Afraid you can't use only TabWorkspace without Menus. :(


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


Posted By: PhreekySicko
Date Posted: 01 January 2009 at 12:09pm

Hello,

the CommandBars control automatically creates a MenuBar object and sets it as the ActiveMenuBar object when a form has a default VB form designer generated menu on it.

If you delete that specific MenuBar object or just call the DeleteAll method on the CommandBars control, the CommandBars control is so clever and restores the form's normal non-Codejock standard Windows menubar.

Perhaps this helps you?

Regards
PhreekySicko



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