![]()  | 
 
Urgent | 
 
    Post Reply  
   | 
  
| Author | |
   
   AdamSharp  
   
   Groupie  
   Joined: 31 March 2008 Location: Morocco Status: Offline Points: 38  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: UrgentPosted: 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 
    | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   xpridex  
   
   Newbie  
   Joined: 27 May 2008 Location: Morocco Status: Offline Points: 4  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |