RT

解决方案 »

  1.   

    AllowBigSelection属性设为False,就不能选择整行或整列
      

  2.   

    sorry,我也不知道做,好像是不能,关注~
      

  3.   

    Private Sub MSHFlexGrid1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
        Me.MSHFlexGrid1.RowSel = Me.MSHFlexGrid1.Row
    End Sub
    跟别人学到的。
      

  4.   

    楼上的还不是只能选择一格,可以选整行,应该改成这样:Private Sub MSHFlexGrid1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
        MSHFlexGrid1.RowSel = Me.MSHFlexGrid1.Row
        MSHFlexGrid1.ColSel = Me.MSHFlexGrid1.Col
    End Sub