![]() |
Standalone clickable PopupButton? |
Post Reply
|
| Author | ||
eugene_v
Groupie
Joined: 12 September 2007 Location: Canada Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Topic: Standalone clickable PopupButton?Posted: 12 September 2007 at 7:27pm |
|
|
To remind the user he has a demo version of the softare, I want to have a menu item "Buy Now" on the ActiveMenuBar without any childer buttons. Is this possible? When you click on it, no menus are displayed but the Execute event occurs...
I tried:
but it shows an ugly empty menu item under itself.
Any ideas?
Eugene
|
||
![]() |
||
Nutty101
Groupie
Joined: 31 August 2007 Location: United States Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 September 2007 at 7:33pm |
|
|
Catch the event and set the active tab back to the last one used?
|
||
![]() |
||
eugene_v
Groupie
Joined: 12 September 2007 Location: Canada Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 September 2007 at 7:38pm |
|
|
Thanks! What is an active tab? Is it a property? Is there some info about it in the help file? |
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 September 2007 at 3:30am |
|
|
Hi,
Instead xtpControlButtonPopup use xtpControlButton
|
||
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
eugene_v
Groupie
Joined: 12 September 2007 Location: Canada Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 September 2007 at 9:10am |
|
Unfortunately I can't... If I do this, I get error 13, type mismatch:
Is it by design that xtpControlButton cannot be added to ActiveMenuBar? Or is it a bug?
|
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 September 2007 at 10:06am |
|
|
Hi,
I guess ControlBuyNow is CommandBarPopup type, replace it to CommandBarControl
|
||
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
eugene_v
Groupie
Joined: 12 September 2007 Location: Canada Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 September 2007 at 11:14am |
|
It works!!!!!!!!!!!!!!!! A million thanks from a happy customer!!!
Since I started visiting these forums, I immediately saw how helpful Oleg's replies are. Thank you Oleg, you are great. You really know what you are talking about.
Let's give a big chear for Oleg and thank him for his hard work!
![]() ![]() ![]() So, in order to have a standalone ActiveMenu item with no sub menus (in other words, a clickable menu in the ActiveMenu that has no children) you do this:
Eugene
|
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 September 2007 at 12:03pm |
|
|
:) Thanks.
|
||
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
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 |