popupmenu方法为什么不能弹出菜单?
弹出菜单界面如上,代码,如下:PrivateSubList1_MouseDown(ButtonAsInteger,ShiftAsInteger,XAsSingle,yAs...
弹出菜单界面如上,代码,如下:Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, y As Single)
If Button = 2 Then
PopupMenu tianjia
End If
End Sub 展开
If Button = 2 Then
PopupMenu tianjia
End If
End Sub 展开
2014-02-28
展开全部
把索引的值删掉就可以了,测试通过
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2014-02-28
展开全部
改写如下吧:
Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, y As Single)
If Button = 2 Then
PopupMenu Form1.tianjia.Item(0)
End If
End Sub
Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, y As Single)
If Button = 2 Then
PopupMenu Form1.tianjia.Item(0)
End If
End Sub
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询