Hi
I need to send different DataGrid control object references to a function. Something like this is possible with many controls like a Form:
But it is not possible to do this with DataGrid control because it is diffrenet.Code:Dim lForm as Form Set lForm = frmPrint msgbox(lForm.Caption)
Do you how I can do that?
It is possible with MSFlexGrid control as well, but I need to use DataGrid control.Code:Dim lGrid as ? '( I tried DataGrid and Object here but not possible) set lGrid = myDataGrid Call myFunc(lGrid) . . . Private myFunc(ByRef pMyGrid as ?) MsgBox pMyGrid.Caption End Function
Thanks




Reply With Quote
