![]() |
Need to click on Button WITHOUT popup closing |
Post Reply ![]() |
Author | |
LeeHayton ![]() Senior Member ![]() ![]() Joined: 25 November 2005 Location: United Kingdom Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() Posted: 04 October 2007 at 11:21am |
I need to select a button on a popup without the popup closing - I need the popup to stay open with the button checked.
How do I stop the popup from closing?
Thanks
Lee
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Its default behavior to not close Popup. Check your code - you close it manually or set Close id for your button.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
LeeHayton ![]() Senior Member ![]() ![]() Joined: 25 November 2005 Location: United Kingdom Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() |
Sorry - I disagree. Maybes I was unclear as to what I meant.
If you execute this code and then click on the menu item called "Button 1" then the POPUP will close - as expected.
However, I wish it NOT to close as I want to highlight (Checked = true) the button which has been clicked and close the popu0p when I want to.
Dim cbp As CommandBarPopup, cbb As CommandBarButton
With CommandBars1 Set cbp = .ActiveMenuBar.Controls.Add(xtpControlPopup, 0, "Options Menu") Set cbb = cbp.CommandBar.Controls.Add(xtpControlButton, 1, "Button 1") End With Thanks
Lee
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
oh. I thoght you mean Popup Controll and not Popup Menu.
ok, set cbb.CloseSubMenuOnClick = False
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
LeeHayton ![]() Senior Member ![]() ![]() Joined: 25 November 2005 Location: United Kingdom Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() |
![]() |
|
![]() |
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 |