当右键选择mshflexgrid控件中任意一条纪录的时候怎么能让相应的这条纪录也变亮,就象是用左键选择那样。我有一段程序,但不知道应该怎么改。
程序如下:
Private Sub dataGrid1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single) If Button = 2 Then
gengx = dataGrid1.TextMatrix(dataGrid1.MouseRow, 1)
Label3 = gengx
datashow.PopupMenu popm
End IfEnd Sub
程序如下:
Private Sub dataGrid1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single) If Button = 2 Then
gengx = dataGrid1.TextMatrix(dataGrid1.MouseRow, 1)
Label3 = gengx
datashow.PopupMenu popm
End IfEnd Sub
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货