Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Popup menu without command
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Popup menu without command

 Post Reply Post Reply
Author
Message
eric33 View Drop Down
Newbie
Newbie


Joined: 19 August 2005
Location: France
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote eric33 Quote  Post ReplyReply Direct Link To This Post Topic: Popup menu without command
    Posted: 01 December 2005 at 8:21am

Hi

I have a menu like this :

Menu 1
   Item 1
   Item 2
   Sub menu 1
          Item 3
          Item 4


I want the user to be able to click on Item 3 or Item 4 but NOT ON Sub menu 1.
When clicking on Sub menu 1 i just want to open the popup menu and NOT HAVE an execute command.

Note : To make the submenu i use a CommandBarPopup

How can i do that ?

Thanks

 

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2005 at 8:46am

Actually it is default behaviour not to execute sub menus...

May be you accidently use

xtpControlButtonPopup or xtpControlSplitButtonPopup style instead of xtpControlPopup for "Sub menu 1" ?

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
eric33 View Drop Down
Newbie
Newbie


Joined: 19 August 2005
Location: France
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote eric33 Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2005 at 8:51am

So simple.

Thanks

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.