Print Page | Close Window

Urgent

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=10843
Printed Date: 02 November 2025 at 9:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Urgent
Posted By: AdamSharp
Subject: Urgent
Date Posted: 30 May 2008 at 2:16pm

Hello,

We can't set visibility of the sub menu when we add the comandbar to the project

it attached a sample
try the sample without and with the commandbars
https://forum.codejock.com/uploads/20080530_141555_sample.rar - uploads/20080530_141555_sample.rar



Replies:
Posted By: Oleg
Date Posted: 30 May 2008 at 2:57pm
Hello,
 
After menu was converted you have call methods of CommandBars:
 
CommandBars1.ActiveMenuBar.Controls(1).Visible = False


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


Posted By: xpridex
Date Posted: 02 June 2008 at 6:25am
Hello Oleg,
normaly for this example, the probleme is the visibility of the submenus Fichier -> "Copier"

when we click on the invisible, normaly the submenu Copier should disapear, and if we click on the visible, the submenu Copier, should appear.

with your code sample, of commandbars, all the menu Fichier disappear.

Our goal is the change visibility of the submenus Copier/Coller, for exemple


Posted By: Oleg
Date Posted: 02 June 2008 at 9:40am
Same for subitems:
 
CommandBars1.ActiveMenuBar.Controls(1).CommandBar.Controls(2).Visible = False


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



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