Print Page | Close Window

KeyDown ESC and ENTER ignored

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=22856
Printed Date: 21 November 2024 at 9:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: KeyDown ESC and ENTER ignored
Posted By: derekl
Subject: KeyDown ESC and ENTER ignored
Date Posted: 19 January 2016 at 6:29pm
Both ENTER and ESC KeyDown events do not fire when focus is on a caption in the property grid. If I am in the value column then both key events do fire.

I am using Progress OpenEdge 11.5 SP1 as the development environment.

The main window (Form) is held from closing by
"IF NOT THIS-PROCEDURE:PERSISTENT THEN WAIT-FOR System.Windows.Forms.Application:Run()."

Changing it to "IF NOT THIS-PROCEDURE:PERSISTENT THEN WAIT-FOR CLOSE OF THIS-PROCEDURE." the KeyDown event does fire, but alas I have to use the former wait for because of other .NET we call from our application.

Can you provide any insight into this behavior?
Thanks,
Derek



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