Hi Support,
This is an old issue we never paid attention to. Today we just wondered if it is possible to solve.
A few years ago I made PDF-viewer with the ActiveX control in Clarion. The issue is that the user presses the <Esc> key the viewer isn’t closing. But if the user first clicks on a random another window and than clicks on title bar of the viewer the <Esc> key works as expected closes the viewer window. So it seems that when the ActiveX control has the focus the <Esc> key isn’t trapped for some reason. How can I make this work?
I know Clarion isn’t supported anymore, but I still hope this can be solved. The link to the original post in the Clarion:
viewtopic.php?f=38&t=16238&p=66314&hili ... cut#p66314
Cheers,
Parps
Detect event in ActiveX control
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- Site Admin
- Posts: 17949
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Detect event in ActiveX control
Hello Parps,
Maybe this will help you with handling keyboard events in the Viewer AX:
viewtopic.php?p=72601#p72601
Regards,
Stefan
Maybe this will help you with handling keyboard events in the Viewer AX:
viewtopic.php?p=72601#p72601
Regards,
Stefan
-
- User
- Posts: 8
- Joined: Mon Sep 28, 2009 10:06 am
Re: Detect event in ActiveX control
Oke, it took me a few months before I got the time to get back on this issue.
I tried what was suggested in that other topic you suggested.
- AllowAllAccelerators is set to true
- SetProperty("Commands….") is done
Unfortunate it didn’t help. It might be a specific Clarion problem. However it is not a big issue so I decided to let it rest.
So although a bit late, thank you for your response.
I tried what was suggested in that other topic you suggested.
- AllowAllAccelerators is set to true
- SetProperty("Commands….") is done
Unfortunate it didn’t help. It might be a specific Clarion problem. However it is not a big issue so I decided to let it rest.
So although a bit late, thank you for your response.
-
- User
- Posts: 1
- Joined: Mon Aug 24, 2020 1:25 am
Re: Detect event in ActiveX control
Was trying to fix this for about a week and this fixed it
-
- User
- Posts: 8
- Joined: Mon Sep 28, 2009 10:06 am