Print Page | Close Window

Hidden Menu Bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=7482
Printed Date: 31 January 2025 at 2:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Hidden Menu Bug
Posted By: corpcon
Subject: Hidden Menu Bug
Date 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 ...




Replies:
Posted By: Oleg
Date Posted: 29 June 2007 at 1:18am
Hello,
 
SkinFramework doesn't support application menus. Use our ComandBars control.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: corpcon
Date 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.


Posted By: Oleg
Date 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


Posted By: Lidiya
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net