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

Building only a ToolBar

 Post Reply Post Reply
Author
Message
Soren View Drop Down
Newbie
Newbie
Avatar

Joined: 09 May 2007
Location: Denmark
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Soren Quote  Post ReplyReply Direct Link To This Post Topic: Building only a ToolBar
    Posted: 20 May 2007 at 9:16am
Hi
 
In my Form I want to build a Toolbar only.
But when I try, the space for the Menubar is still visible.
 
How an I remove the Menubar completely?
 
Back to Top
Nomlas View Drop Down
Newbie
Newbie


Joined: 15 December 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nomlas Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2007 at 11:15am
This did it for me....

commandbar.ActiveMenuBar.Visible = False
Back to Top
Soren View Drop Down
Newbie
Newbie
Avatar

Joined: 09 May 2007
Location: Denmark
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Soren Quote  Post ReplyReply Direct Link To This Post Posted: 21 May 2007 at 2:29am

I use ActiveMenuBar.Visible = False

But, the space for the menubar is still remaining
Back to Top
Waescher View Drop Down
Newbie
Newbie


Joined: 15 September 2006
Location: Germany
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote Waescher Quote  Post ReplyReply Direct Link To This Post Posted: 21 May 2007 at 5:51am
Please upload a little screenshot for us ...

Thanks.
Back to Top
SuperMario View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 21 May 2007 at 9:45am
maybe you load old layout from registry?
Back to Top
Zach View Drop Down
Groupie
Groupie


Joined: 19 July 2006
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote Zach Quote  Post ReplyReply Direct Link To This Post Posted: 21 May 2007 at 4:44pm
Originally posted by SuperMario SuperMario wrote:

maybe you load old layout from registry?
 
 
... and if that is the case.. . just put
 
commandbar.ActiveMenuBar.Visible = False
 
 
after you load it (if you want it to always be hidden)
Back to Top
Soren View Drop Down
Newbie
Newbie
Avatar

Joined: 09 May 2007
Location: Denmark
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Soren Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2007 at 9:15am
Hi Everyone
 
Sorry for my late response.
Thank You all for your responses.
 
I can make the Commandbar.Visible = False when I use the CommandBar Sample, but when I'll do the same in my own program it doesn't work.
 
How ever, now I know that it can be done, som maybe I'll simply copy and paste the sample.
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.047 seconds.