Click here to Skip to main content
14,695,505 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In Windows application with C#.net :

when keypress event firing on flexgrid but not return value.when use dobleclick event return value.

What I have tried:

Grid_KeyPress

int row = GrdDc.Row;
if (GrdDc.ColSel == 1)
{
if (e.KeyChar != (int)Keys.Escape && e.KeyChar != (int)Keys.Enter && e.KeyChar != (int)Keys.Tab)
{
if (Convert.ToString(GrdDc[row, 10]) != "1")
{
Callsearch("Component");
SWOT_MFG.FrmView FrmV = new SWOT_MFG.FrmView(this, "DisAssemble");
FrmV.ShowDialog(this);
e.Handled = true;
}
}
}
Posted
Updated 19-Oct-20 23:45pm

1 solution

This is the same "question" you asked yesterday: Keypress and keydown event is firing when click on flexgrid but not showing vaules[^] - and the advice hasn't changed. Use the debugger to find out what exactly is going on in your code while it is running ...
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900