Print Page | Close Window

ControlPopup as Context Menu

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=2378
Printed Date: 07 July 2024 at 7:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ControlPopup as Context Menu
Posted By: jamesblast
Subject: ControlPopup as Context Menu
Date Posted: 15 June 2005 at 6:22am
hi,

Im using the trialversion to see if it fits my needs.

wath i want to do is put a ControlPopup into a context menu. that means. i want to click somewhere in my application an call a contextmenu which contains (or actualy IS) a defined ControlPopup (i.e. the "File"-Menu from commandbar).

is that possible, and if, how?

thank you



Replies:
Posted By: SuperMario
Date Posted: 15 June 2005 at 8:32am
Yes, there are two options.

1. Add the menu items when the Popup is displayed.  See CommandBars SDI Sample (rtfText_MouseUp event)

2. Copy an existing Popup menu to display as a context menu.  See CommandBars Customizable Sample (rtfText_MouseUp event).  Please note for this method you must assign an Id to top level popup menu item.



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