Print Page | Close Window

PreviewKeyDown not triggering after version update

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=24439
Printed Date: 29 June 2024 at 9:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PreviewKeyDown not triggering after version update
Posted By: Sil
Subject: PreviewKeyDown not triggering after version update
Date Posted: 02 November 2023 at 9:51am
Hi,

We are migrating from Codejock 10.3 to Codejock 20.3. (yes i know there is a more recent version now, we have been working on this migration for a while and as long as it's a version with both 32bit and 64 bit support, that's enough for us)
But now we noticed that the PreviewKeydown is not working anymore in reportcontrols.
We have several places where pressing the "F1" key would open a list of options to enter, and in reportcontrols we could detect the "F1" in the previewkeydown as keycode 112.
But after upgrading to Codejock 20.3 this event is missing.
I am seeing InplaceEditChanging and InplaceEditChangingV when typing printable characters, but no events on function keys.

does anyone know how we can either get previewKeyDown event back or detect pressing the "F1" while in editmode in an other way?

some more info:
it's the same form, we open the form, remove the 10.3 version and put the 20.3 version in the place. (then discard position and size changes in git) so the problem is not the form as nothing changes there.
using the activeX controls in a 32 bit application (working on changing to 64 bit but we first need to get all the 10.3 controls replaced as 10.3 is only 32 bit).




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net