Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Win DataGrid not responsive to general events?
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Win DataGrid not responsive to general events?
Miscellaneous
Thread ID:
00930361
Message ID:
00930361
Views:
71
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?
Next
Reply
Map
View

Click here to load this message in the networking platform