Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
21214 | Nov 4,2004 02:04 PM UTC | Nov 4,2004 03:06 PM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
public class MyGridDataBoundGrid : GridDataBoundGrid { protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if((0 != (keyData & Keys.Tab)) || (0 != (keyData & Keys.F9))) { this.Binder.AddNew(); return true; //ignore the key } return base.ProcessCmdKey (ref msg, keyData); } }
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.
This page will automatically be redirected to the sign-in page in 10 seconds.