Hi Tracy No need to save the value of nShift in the MouseDown - Just check it in MouseUp as Richard suggested. Paul
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Tracy Pearson Sent: 11 September 2019 14:30 To: profoxtech@leafe.com Subject: RE: Detecting mouse click with modifier
Sent by an external sender ------------------------------
Hi Paul,
You will need to save the value of nShift in the MouseDown event, then reference it in the Click event.
HTH, Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Paul Newton Sent: Wednesday, September 11, 2019 9:11 AM To: profoxtech@leafe.com Subject: Detecting mouse click with modifier
Hi all
Does anybody know if it is possible to detect whether a modifier key (i.e. CTRL, ALT or SHIFT) was down when the mouse was clicked? I believe it's possible in some languages/frameworks but not in VFP. Would I be correct or is there some way of doing this?
Many thanks
Paul Newton
[excessive quoting removed by server]