![]() |
CommandBar ID vs BarID |
Post Reply ![]() |
Author | |
Marek ![]() Groupie ![]() Joined: 02 February 2005 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
You can get BarID. Debug.Print (Control.Parent.BarID)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Marek ![]() Groupie ![]() Joined: 02 February 2005 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |