I found when I click Pageup,PageDown,Up,Down key ,the record moved up and
down, Can I prevent the record movement? I used the following code, but no
work.
private void dw_sample_DataWindowKeyDown(object sender,
System.Windows.Forms.KeyEventArgs e)
{
if(e.KeyValue==(int)Keys.Up || e.KeyValue==(int)Keys.Down ||
e.KeyValue==(int)Keys.PageUp || e.KeyValue==(int)Keys.PageDown
|| e.KeyValue==(int)Keys.Home || e.KeyValue==(int)Keys.End)
{
e.Handled=true;

};
}


Thanks