Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - why id of CommandBarPopup is 0?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

why id of CommandBarPopup is 0?

 Post Reply Post Reply
Author
Message
progame View Drop Down
Newbie
Newbie


Joined: 15 July 2004
Location: China
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote progame Quote  Post ReplyReply Direct Link To This Post Topic: why id of CommandBarPopup is 0?
    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?

 

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.141 seconds.