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

Urgent

 Post Reply Post Reply
Author
Message
AdamSharp View Drop Down
Groupie
Groupie
Avatar

Joined: 31 March 2008
Location: Morocco
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote AdamSharp Quote  Post ReplyReply Direct Link To This Post Topic: Urgent
    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
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: 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
Back to Top
xpridex View Drop Down
Newbie
Newbie


Joined: 27 May 2008
Location: Morocco
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote xpridex Quote  Post ReplyReply Direct Link To This Post 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
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: 02 June 2008 at 9:40am
Same for subitems:
 
CommandBars1.ActiveMenuBar.Controls(1).CommandBar.Controls(2).Visible = False
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.188 seconds.