Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Sharing actions collection between commandbars obj
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sharing actions collection between commandbars obj

 Post Reply Post Reply
Author
Message
foleypt View Drop Down
Groupie
Groupie
Avatar

Joined: 11 February 2008
Location: Portugal
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote foleypt Quote  Post ReplyReply Direct Link To This Post Topic: Sharing actions collection between commandbars obj
    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
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.125 seconds.