Print Page | Close Window

ShowPopup Help

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=10844
Printed Date: 07 October 2024 at 8:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ShowPopup Help
Posted By: griswald88
Subject: ShowPopup Help
Date Posted: 30 May 2008 at 2:33pm
I have a menu created that has many sub menus and I want to show that menu as a popup when the user right clicks in a specific area, but it doesn't seem to work as I would expect. I am using the following code:
 
CommandBars.ActiveMenuBar.CommandBars(1).ShowPopup
 
I have tried with and without the TPM_RECURSE flag.
 
I don't have to duplicate the entire menu structure as a context menu do I?



Replies:
Posted By: Oleg
Date Posted: 30 May 2008 at 2:54pm
Try
 
CommandBars.ActiveMenuBar.Controls(1).CommandBar.ShowPopup


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: griswald88
Date Posted: 30 May 2008 at 3:01pm
Perfect...not sure how I would have known to try that; especially since there is no intellisense for it (hidden attribute)?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net