![]() |
Quick Popup VB6 Code |
Post Reply ![]() |
Author | |
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() 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? |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |