Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Win DataGrid not responsive to general events?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Win DataGrid not responsive to general events?
Divers
Thread ID:
00930361
Message ID:
00930361
Vues:
70
Win Form that is a part of a OakLeaf.MM.Main.Windows.Forms.mmMaintenanceForm.

I have both a mmDataGrid and a dataGrid on a form, I can't seem to capture an event _Click, _Navigate,....

this code fails to show in the debugger in this form but does in a plain form out of this project:

private void dataGrid1_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)

{
System.Drawing.Point pt = new Point(e.X, e.Y);
DataGrid.HitTestInfo hti = dataGrid1.HitTest(pt);

if(hti.Type == DataGrid.HitTestType.Cell)

{
dataGrid1.CurrentCell = new DataGridCell(hti.Row, hti.Column);

dataGrid1.Select(hti.Row);
}
}

I give up. why can't you grab what is happening in the mmMaintenanceForm?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform