Sorry.
---- User Control Code ----
Public Event GridMouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Private Sub MyGrid_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
RaiseEvent GridMouseDown(Button, Shift, X, Y)
End Sub
--- MyForm Code ---
Private Sub UserControl11_GridMouseDow
' Your Code for the event
End Sub





by: x77Posted on 2009-10-30 at 01:48:13ID: 25701035
Add a Public ReadOnly Property flexgrid to UserControl
Then Use: Directcast(Sender, MyUserControl).FlexGrid