G
Guest
using VS 2003
create a winforms app
add a datagrid to the form
and bind it to a an arraylist or similar
in the click event of the datagrid pop up a message box
run the app
click on the separator between rows (when you have the double headed
vertical arrow cursor)
the message box pops up but the mouse is trapped within the grid borders!
code below:-
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim a As New ArrayList
a.Add(1)
a.Add(2)
a.Add(3)
Me.DataGrid1.DataSource = a
End Sub
Private Sub DataGrid1_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DataGrid1.Click
MsgBox("oops", MsgBoxStyle.OKOnly)
End Sub
create a winforms app
add a datagrid to the form
and bind it to a an arraylist or similar
in the click event of the datagrid pop up a message box
run the app
click on the separator between rows (when you have the double headed
vertical arrow cursor)
the message box pops up but the mouse is trapped within the grid borders!
code below:-
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim a As New ArrayList
a.Add(1)
a.Add(2)
a.Add(3)
Me.DataGrid1.DataSource = a
End Sub
Private Sub DataGrid1_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DataGrid1.Click
MsgBox("oops", MsgBoxStyle.OKOnly)
End Sub