![]() |
Menu SubItems |
Post Reply ![]() |
Author | |
jamesblast ![]() Groupie ![]() Joined: 15 June 2005 Status: Offline Points: 52 |
![]() ![]() ![]() ![]() ![]() Posted: 08 July 2005 at 7:31am |
Hello, I add a Menu (to activemenubar), into this menu i add a xtpControlPopup (called popupmenu). If i do this: --- set popupmenu=commandbars.activemenubar.findcontrol(,id,,true) popupmenu.Controls --- the return value of the last line is its parent. so popupmenu.controls.item(1) could be the popupmenu itself. why is that? Is this a bug, or did i something wrong? thank you! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Yes. it is waiting bahaviour. I guess you need: popupmenu.CommandBars.Controls. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jamesblast ![]() Groupie ![]() Joined: 15 June 2005 Status: Offline Points: 52 |
![]() ![]() ![]() ![]() ![]() |
hello, i dont know what waiting behaviour is, but as popupmenu is a "CommandBarControl", it has no commandbars property. I hope you can help me with this. thank you |
|
![]() |
|
ianp ![]() Moderator Group ![]() ![]() Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
![]() ![]() ![]() ![]() ![]() |
Try:
|
|
![]() |
|
jamesblast ![]() Groupie ![]() Joined: 15 June 2005 Status: Offline Points: 52 |
![]() ![]() ![]() ![]() ![]() |
this did it: Dim popupmenu as CommandBarPopup thank you! |
|
![]() |
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 |