Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - disable a menu item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

disable a menu item

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


Joined: 11 February 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote xxChris Quote  Post ReplyReply Direct Link To This Post Topic: disable a menu item
    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
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post 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. 
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.156 seconds.