Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Hidden Menu Bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hidden Menu Bug

 Post Reply Post Reply
Author
Message
corpcon View Drop Down
Groupie
Groupie


Joined: 28 June 2007
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote corpcon Quote  Post ReplyReply Direct Link To This Post Topic: Hidden Menu Bug
    Posted: 28 June 2007 at 5:04pm

My menu in my MDI form (VB) appears to be hidden. It's still there, but it is in the title bar, and the FIRST heading will appear if I click on the approximate location of where it is supposed to be. Other menu headings are only available when the first heading is clicked and you move the mouse across (not that that really matters). Pictures below illustrate this ...

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: 29 June 2007 at 1:18am
Hello,
 
SkinFramework doesn't support application menus. Use our ComandBars control.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
corpcon View Drop Down
Groupie
Groupie


Joined: 28 June 2007
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote corpcon Quote  Post ReplyReply Direct Link To This Post Posted: 29 June 2007 at 2:27pm
I was ready to set up all the menu items using ComandBars when I discovered that I didn't need to. By using just the following code, my existing application menus appeared. Is this what you meant?
 
    ' Set Menus
    CommandBarsGlobalSettings.App = App
    ' Disable MenuBar Docking
    CommandBars.ActiveMenuBar.EnableDocking xtpFlagStretched
 
Just as an observation, I've noticed that things such as Properties and Methods are all documented. But there is no real world documentation examples of how to implement anything. The sample apps are nice, but we're still left to fend for ourselves with regards to figuring out how to apply these controls. Just creating a menu is a prime example. There was no, "Here's how you create a menu" topic. I had to decipher the sample on my own and locate which code was applicable to just the menu.
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 June 2007 at 4:13am
Hello,
Yeap, in last versions we added autoconverting - so you don't need any code to convert menu.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Lidiya View Drop Down
Newbie
Newbie


Joined: 05 September 2007
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lidiya Quote  Post ReplyReply Direct Link To This Post Posted: 06 September 2007 at 4:34am
Hi

I also make my menu visible by just putting the CommandBars on the Form, but I have the problem on manipulating this. For example I make items of the menu enabled and disabled.
Changes of properties do not have any effects.

I already found out that navigating through ComandBars members to the specifical item and setting its property works well using e.g.
CommandBars.ActiveMenuBar.Controls.Item(2).CommandBar.Controls.Item(1).Enabled  = False


So I suggest the visible menue is not connected to the original menu.
My application is a pretty big project which was written before using SkinFrameWork so I dont want to make a huge amount of changes on it.

So, is there a way to apply changes of the original menu to the visible menu?

The second, interesting, but not as important question is if it is possible to access specifical items directly i.e. without navigating through the members of  ComandBars?

Thanks for Help.
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.079 seconds.