DateTimeEditBox drops down on Control+F4

Editors for WPF Forum

Posted 13 years ago by Jessica
Version: 11.1.0542
Avatar
Hello Support,

I have the problem, that the DateTimeEditBox drops down on Control+F4.
Is it possible to prevent this behavior? I would like to close the view on Control+F4.

Additionally it drops down on F4 and Alt+Down. Thats ok.

Thanks in advance.
Jessica

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Jessica,

This is the standard behavior of the native WPF ComboBox, which our edit boxes replicate. The only way to prevent it would be create a custom class that derives from DateTimeEditBox and override the OnKeyDown virtual method. Then you'd check for the Ctrl+F4 key combination and do not call the base method in that case.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.