Print Page | Close Window

disable a menu item

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=9730
Printed Date: 15 May 2024 at 3:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: disable a menu item
Posted By: xxChris
Subject: disable a menu item
Date Posted: 28 February 2008 at 2:33am

Hi,

I also use the Skinframework and can't see my menus anymore,
so I placed  the Commandbarcontrol also on the form.
My menus are back again. :-)
BUT, disabled items can be selected further.
 
What do I wrong?
 
Greetings from Salzburg
Christoph
 
PS: sorry for my english



Replies:
Posted By: Xander75
Date Posted: 20 March 2008 at 9:44am
When placing a Commandbar control onto a Form that has a VB Menu already created this does not show the menu items that are disabled as greyed out. They will always appear as though they are accessible, although they are effectively disabled as you can't get anywhere when clicking on them.
 
The only way to do this is to create a menu using the Commandbars on load of the Form. At which point you can disable any menu item you wish and re-enable them at runtime. 



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