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.
Unfortunately, activation email could not send to your email. Please try again.

question about keydown event for textbox cells

Thread ID:

Created:

Updated:

Platform:

Replies:

19861 Oct 5,2004 10:44 AM Oct 5,2004 11:00 AM Windows Forms 2
loading
Tags: GridControl
Chad Allen
Asked On October 5, 2004 10:44 AM

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 10:54 AM

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 11:00 AM

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.

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.

;