Detect event in ActiveX control
Posted: Fri Oct 25, 2019 5:49 pm
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
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