Print Page | Close Window

PreviewKeyDown event does not fire

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=7452
Printed Date: 10 November 2024 at 12:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PreviewKeyDown event does not fire
Posted By: Chusoft
Subject: PreviewKeyDown event does not fire
Date Posted: 26 June 2007 at 10:18am
I am trying to prevent the selected/focused row from being changed by user from keyboard.  I tried the "PreviewKeyDown event".  This event is not fired.
 
On another form I have a reportcontrol and the previewkeydown event
works.
 
What enables/disable the previewkeydown events?
 
This is drive me nuts!


-------------
ChuSoft



Replies:
Posted By: sserge
Date Posted: 06 July 2007 at 4:33pm
Hi,

Your form may handle key by itself and doesn't allow the control to process it.

You have to setup some corresponding form's properties, depending on the environment you use.

--
WBR,
Serge



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