Mouse click event


De Netwerkadviseur BV
 

Hi,

I have a form with controls on it. I need an event when the user clicks with the mouse anywhere on the form, outside any control. Is this possible with v9.4SP8?



Best regards,

André


Florian Groothuis
 

Use WindowHit()

 

Van: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] Namens andre@...
Verzonden: donderdag 12 januari 2017 9:31
Aan: main@magicu-l.groups.io
Onderwerp: [magicu-l] Mouse click event

 

Hi,

I have a form with controls on it. I need an event when the user clicks with the mouse anywhere on the form, outside any control. Is this possible with v9.4SP8?



Best regards,

André

Met vriendelijke groet - With kind regards,

Florian Groothuis
Analist/programmeur
+31 (0)6 21927914


meilink.eu

Meilink Beheer Borculo B.V. • Kamerlingh Onnesstraat 1
7271 AZ  Borculo • Nederland • +31 (0)545 253525
KvK 08009803 • Our general terms and conditions apply • Disclaimer



De Netwerkadviseur BV
 

Hi Florian,

Thanks for your reply. There is no WindowHit() expression in version 9 of magic.

Best regards,
André


Govert Schipper
 

André,


It's not a function but an internal event that can be caught and does the trick.


Govert




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens andre@... <andre@...>
Verzonden: donderdag 12 januari 2017 14:03
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] Mouse click event
 

Hi Florian,

Thanks for your reply. There is no WindowHit() expression in version 9 of magic.

Best regards,
André


Florian Groothuis
 

You asked for an event, I gave you one...

 

Van: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] Namens andre@...
Verzonden: donderdag 12 januari 2017 14:03
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] Mouse click event

 

Hi Florian,

Thanks for your reply. There is no WindowHit() expression in version 9 of magic.

Best regards,
André

Met vriendelijke groet - With kind regards,

Florian Groothuis
Analist/programmeur
+31 (0)6 21927914


meilink.eu

Meilink Beheer Borculo B.V. • Kamerlingh Onnesstraat 1
7271 AZ  Borculo • Nederland • +31 (0)545 253525
KvK 08009803 • Our general terms and conditions apply • Disclaimer



De Netwerkadviseur BV
 

Hi Florian,

Sorry for my previous reply. Because I was working/testing with Clickwx() expressions, I searched on the wrong place.

Your event is what I was looking for.

Thanks,


Best regards,
André