关于vb6的datagrid控件问题
我想实现在datagrid中选中一行,在text中显示所选的内容,我知道在vb.net中有datagrid_CurrentCellChanged 事件可以实现这个功能,但在vb6好像没有,请问在vb6中用什么代替datagrid_CurrentCellChanged ,或者请高手们指点小弟如何在vb6中实现这个功能
[解决办法]
Private Sub DataGrid1_RowColChange(LastRow As Variant, ByVal LastCol As Integer) Dim i As Integer Text1.Text = "" For i = 0 To DataGrid1.Columns.Count - 1 Text1 = Text1 & DataGrid1.Columns(i) & " " Next End Sub