Discussão Geral ProcessDialogKey doesn't get called

  • terça-feira, 9 de setembro de 2003 04:27
     
     
    I derrived a class from System.Windows.Forms.DataGrid, overriden the ProcessDialogKey to put custom processing for "Delete" button. All works fine till I created the inherited form derrived from the form with my grid on it. Base form has a datagrid and two buttons on it. Inherited form doesn't add ANYTHING. But when I fill the grid with data it seems that "Delete" button message doesn't bump into MyGrid.ProcessDialogKey. Any ideas that I did wrong and/or how to overcome this problem.