Print Page | Close Window

Adding CommandBarPopup in more than one place

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=18208
Printed Date: 06 May 2024 at 8:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adding CommandBarPopup in more than one place
Posted By: ahmadgames
Subject: Adding CommandBarPopup in more than one place
Date Posted: 12 April 2011 at 7:44am
Dears,

Can any one help me in this?

I need to put a CommandBarPopup in more than one place, but without adding the items inside it again and again...

I have the following structure:
-----------------------------------------
Add Indicator (Popup)
---> Oscillators (Popup)
------> Indicator 1
------> Indicator 2
------> Indicator 3
---> Trends (Popup)
------> Indicator 4
------> Indicator 5
------> Indicator 6
---> Volumes (Popup)
------> Indicator 7
------> Indicator 8
------> Indicator 9

------------------------------------------
I added the above structure in the ActiveMenuBar (See the image)


Can I put the entire popup (Add Indicator) in another place like the Toolbar without the need to re-add everything again?

When I add it with just its ID (ID_mnuAddIndicator), the popup appear but with empty buttons (See the image):


Appreciating your help..

THanks


-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions



Replies:
Posted By: Oleg
Date Posted: 13 April 2011 at 2:23pm
Yes you can.  something like

Set Control.CommandBar = AnotherControl.CommandBar


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


Posted By: ahmadgames
Date Posted: 14 April 2011 at 6:43am
thanks alot oleg.
so simple and easy, worked as a charm :)


-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions



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