Print Page | Close Window

Sharing actions collection between commandbars obj

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=9698
Printed Date: 07 November 2025 at 5:10am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Sharing actions collection between commandbars obj
Posted By: foleypt
Subject: Sharing actions collection between commandbars obj
Date Posted: 25 February 2008 at 11:58am
Is it possible to share a CommandBarAction actions collection between 2 commandbars objects??

I have a MDIForm that has a commandbars with menus and a toolbar the behaviour of which is controlled by it's actions object.

From this MDIForm  it is possible to launch as a modal form (but in future may become non modal) another form that has it's own commandbars object in order to display it's menus.

Some of the menu items on the Mdiparent and the modal form are common to both.

Can I set up a common CommandBarAction actions collection for both?

If I try to assign the actions property of one commandbars to another it doesn't let me (it being RO)

I code in VB6



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