Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - CommandBar ID vs BarID
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CommandBar ID vs BarID

 Post Reply Post Reply
Author
Message
Marek View Drop Down
Groupie
Groupie


Joined: 02 February 2005
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marek Quote  Post ReplyReply Direct Link To This Post Topic: CommandBar ID vs BarID
    Posted: 17 February 2005 at 6:35pm

hey,

so it looks like you can assign a ControlPopup an ID in the designer. The control Popup has a few 'child' controls on it. In my Event handler I get the parent of child control. If I want to identify what the parent control is, I have to use a BarID property, which as far as I can tell, I can only get from the XML file. Isn't there a way to get the designer user assigned ID from the parent control?

Thanks,

-m

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2005 at 3:50am

You can get BarID.

Debug.Print (Control.Parent.BarID)

 

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Marek View Drop Down
Groupie
Groupie


Joined: 02 February 2005
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marek Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2005 at 11:32am

Thanks for the reply Oleg, but I want to get the Control from an ID, not the ID from the control. Is there a way to get the Control Bar from the user assigned ID?

-m

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