Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Right Click
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Right Click

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


Joined: 30 November 2007
Status: Offline
Points: 142
Post Options Post Options   Thanks (0) Thanks(0)   Quote markmark Quote  Post ReplyReply Direct Link To This Post Topic: Right Click
    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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
markmark View Drop Down
Senior Member
Senior Member


Joined: 30 November 2007
Status: Offline
Points: 142
Post Options Post Options   Thanks (0) Thanks(0)   Quote markmark Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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...) 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....
Back to Top
markmark View Drop Down
Senior Member
Senior Member


Joined: 30 November 2007
Status: Offline
Points: 142
Post Options Post Options   Thanks (0) Thanks(0)   Quote markmark Quote  Post ReplyReply Direct Link To This Post 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
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.152 seconds.