Print Page | Close Window

VB6: Original-menus and commandbars

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=22563
Printed Date: 25 November 2024 at 10:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: VB6: Original-menus and commandbars
Posted By: fob
Subject: VB6: Original-menus and commandbars
Date Posted: 26 March 2015 at 5:02am

My situation:

We want to bring some fresh paint into an VB6-Project…

I see that the Commandbars-Control takes the originalmenus from the form und also calls the right events when clicked (which is quite nice)

But the Problems are:

-The VB6-Menus are Translated into another language, but the commandbars-menu only shows the captions from the design-time

-Some Menuitems are enabled, some are disabled, but the Commandbars-menu shows them all enabled 

I looked into the data of the commandbar-control but I down see a proper way to remap an original VB6-menuitem to the commandbar-item, so that I can change the caption and enabled state myself.

Any suggestion, or should I just rebuild the menus from scratch? 

Thanks,

Frank




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