We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

question about keydown event for textbox cells

Thread ID:

Created:

Updated:

Platform:

Replies:

19861 Oct 5,2004 02:44 PM UTC Oct 5,2004 03:00 PM UTC WinForms 2
loading
Tags: GridControl
Chad Allen
Asked On October 5, 2004 02:44 PM UTC

Does anyone know if there is a quick way to tell if you are in "edit mode" on a textbox when the currentCell_keyDown event fires? I''m trying to listen on the keydown for the Insert/Delete keys. If they are pressed and you are not editting a textbox, I''d like to insert a new row/delete the current row. If you''re editting a textbox cell, I want those keys to work as they normally do. Thanks, Chad

Administrator [Syncfusion]
Replied On October 5, 2004 02:54 PM UTC

This is what I''m currently using on the currentCell_Keydown... ((GridControl)sender).CurrentCell.Renderer.Control.Focused Doesn''t feel right though...

Administrator [Syncfusion]
Replied On October 5, 2004 03:00 PM UTC

grid.CurrentCell.IsEditing should be true when the currentcell is actively being edited.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;