Print Page | Close Window

Referencing a commandbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4920
Printed Date: 17 November 2024 at 5:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Referencing a commandbar
Posted By: PhilJeary
Subject: Referencing a commandbar
Date Posted: 30 August 2006 at 5:12am
Hi, slightly simpler version of my previous post....
 
How do you reference a commandbar you have already created?
 
i.e.
Dim Popup As CommandBar
 
I create the commandbar using
   Set Popup = CommandBars.Add("Standard", xtpBarPopup)
In another function, what do I set Popup to so it references "Standard" again?
 
Regards,
Phil



Replies:
Posted By: Oleg
Date Posted: 30 August 2006 at 8:47am
Hello, if xtpBarPopup used, Add method don't actually add it to _toolbars_ collection and Popup will be destroyed after function exit.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE 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