Print Page | Close Window

CommandBar ID vs BarID

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=1809
Printed Date: 16 November 2024 at 3:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBar ID vs BarID
Posted By: Marek
Subject: CommandBar ID vs BarID
Date 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




Replies:
Posted By: Oleg
Date Posted: 18 February 2005 at 3:50am

You can get BarID.

Debug.Print (Control.Parent.BarID)

 

 



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


Posted By: Marek
Date 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




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