Print Page | Close Window

why id of CommandBarPopup is 0?

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


Topic: why id of CommandBarPopup is 0?
Posted By: progame
Subject: why id of CommandBarPopup is 0?
Date Posted: 15 July 2004 at 4:58am

when i add a button with these code:

Set ControlFile = CommandBars.ActiveMenuBar.Controls.Add(xtpControlPopup,1000, "&File")

Debug.print controlfile.id

i can't get the extract id ,

but if i set it's id explicitly like this: controlfile.id = 10000

and it works now, why?

 




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