Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Quick Popup VB6 Code
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Quick Popup VB6 Code

 Post Reply Post Reply
Author
Message
DDJJ View Drop Down
Senior Member
Senior Member


Joined: 13 December 2004
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote DDJJ Quote  Post ReplyReply Direct Link To This Post Topic: Quick Popup VB6 Code
    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?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
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.156 seconds.