DateTimeEditBox drops down on Control+F4

Editors for WPF Forum

Posted 8 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 8 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 (v2018.1 build 0675) 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.