Print Page | Close Window

Quick Popup VB6 Code

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=3003
Printed Date: 05 October 2024 at 11:23pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Quick Popup VB6 Code
Posted By: DDJJ
Subject: Quick Popup VB6 Code
Date Posted: 04 October 2005 at 2:47pm

Our app displays an "Action" menu item that contains commands related to a specific record the user has selected in a CJ report control.

Currently, I am building a popup menu from scratch every time the user right clicks over a record in the report control.  In fact, what I'd really like to do is merely copy whatever buttons/controls are currently visible in the Action menu to the popup created during the report controls RowRClick event.

Is there a method, or some other approach, available that would allow me to do this?




Replies:
Posted By: SuperMario
Date Posted: 19 October 2005 at 12:05pm
Yes, you can.

Look at the Outlook 2003 Sample.  In frmReportControl.frm, see wndReportControl_ColumnClick event.  In here you will see that the Columns and ArrangeBy items are displayed exactly how you want.  They are copied from another menu and it checks the status of a column to see if the item should be displayed in the popup menu.



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