Print Page | Close Window

Right Click

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=19103
Printed Date: 19 February 2025 at 3:14pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Right Click
Posted By: markmark
Subject: Right Click
Date Posted: 23 October 2011 at 11:26am

Hi

If I right click on a cell in the report control I get the default windows display.

I would like to use my own popup menu instead, in fact I do this already, but it only works when I right click on a cell that doesn’t have focus yet.

As soon as a cell is in edit mode/has focus, the default windows right click displays instead of my popup.

Any ideas how I do this.

Many Thanks

Mark



-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0



Replies:
Posted By: Aaron
Date Posted: 07 November 2011 at 2:08am
Hi,
 
First of all, I find it strange that rightclick enters editmode. I remember having an issue (or two, three, four...) and you (CJ) always said it's implemented according MS guidelines and did nothing about it.
 
Andre? Can you give me an example when rightclick does actually do something (except showing a popmenu) ??? (I don't use W7, so I don't know if MS guidelines change...) 
 
Thanks
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: markmark
Date Posted: 07 November 2011 at 2:48am
Hi Aaron.
I think I have miss lead you, is not that the cell goes into edit mode when you right click, which is doesn't, well not for me anyway.
Its when you right click and a cell is already in edit mode that I want to still use my popup, and not the default windows popup.
 
Sorry
 
Mark


-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0


Posted By: Aaron
Date Posted: 09 November 2011 at 12:57am
Hi Mark
 
Well, I tried with V15.1.3 and it enters editmode with rightclick and that is why I thought it was your problem.
 
To get own contextmenu you have to prevent showing default windows popup. Sometime ago I asked same question (see somewhere in Report forum) and Jason provided some code to get this going. I added some functionality to have Cut, Copy and Paste (because I think you are going to need it...) http://forum.codejock.com/uploads/3701/TestContextMenu.zip - uploads/3701/TestContextMenu.zip
 
Good luck Wink
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: markmark
Date Posted: 09 November 2011 at 6:43am
Many Many Thanks again Aaron.
 
Mark
 


-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0



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