如题
我查了MSDN居然没有,晕到~

解决方案 »

  1.   

    with me.datagrid
      .col=1
      msgbox .text
      .col=2
      msgbox .text
    end with
      

  2.   

    Dim i As Integer
        i = DataGrid1.Row
      

  3.   

    可以改用MSHFlexGrid控件,它能支持
    MSHFlexGrid1.MouseCol
    MSHFlexGrid1.MouseRow
    之类的属性
      

  4.   

    回复人: yangao(QQ宝典) ( ) 信誉:100  2005-03-17 16:34:00  得分: 0  
     
     
       DataGrid1.Book
      
     
    Top  
     
     回复人: junki(『打破沙锅问到底』) ( ) 信誉:106  2005-03-17 16:54:00  得分: 0  
     
     
       Dim i As Integer
        i = DataGrid1.Row
      
     你门的方法我用了 但是 不行, 取的是点击前的行.我要取 点击后的行
      

  5.   

    Private Sub DataGrid1_DblClick()DataGrid1.Col = 0
    MsgBox DataGrid1.Row
    MsgBox DataGrid1.Col
    MsgBox DataGrid1.TextEnd Sub