以下关于菜单的说法中,错误的是()。 5
以下关于菜单的说法中,错误的是()。A)每个菜单项都是一个控件,与其它控件一样也有其属性和事件B)除了Click事件之外,菜单项不可以响应其它事件C)菜单项的索引号可以不...
以下关于菜单的说法中,错误的是()。
A) 每个菜单项都是一个控件,与其它控件一样也有其属性和事件
B) 除了Click事件之外,菜单项不可以响应其它事件
C) 菜单项的索引号可以不连续
D) 菜单项的索引号必须从1开始
2、 设已经在菜单编辑器中设计了窗体的快捷菜单,其定级菜单为a1,且取消其“可见”属性。运行时以下()
事件过程可以使快捷菜单的菜单项响应鼠标左键单击和鼠标右键单击。
A) private Sub Form_MouseDown(Buton as integer,Shift as integer,x as single,y as single)
if button=2 Then PopupMenu a1,2
end Sub
B) private Sub Form_MouseDown(Buton as integer,Shift as integer,x as single,y as single)
Then PopupMenu a1,0
end Sub
C) private Sub Form_MouseDown(Buton as integer,Shift as integer,x as single,y as single)
PopupMenu a1
end Sub
D) private Sub Form_MouseDown(Buton as integer,Shift as integer,x as single,y as single)
if (button=vbleftButton) or (button=vbRighttButton) Then PopupMenu a1
end Sub 展开
A) 每个菜单项都是一个控件,与其它控件一样也有其属性和事件
B) 除了Click事件之外,菜单项不可以响应其它事件
C) 菜单项的索引号可以不连续
D) 菜单项的索引号必须从1开始
2、 设已经在菜单编辑器中设计了窗体的快捷菜单,其定级菜单为a1,且取消其“可见”属性。运行时以下()
事件过程可以使快捷菜单的菜单项响应鼠标左键单击和鼠标右键单击。
A) private Sub Form_MouseDown(Buton as integer,Shift as integer,x as single,y as single)
if button=2 Then PopupMenu a1,2
end Sub
B) private Sub Form_MouseDown(Buton as integer,Shift as integer,x as single,y as single)
Then PopupMenu a1,0
end Sub
C) private Sub Form_MouseDown(Buton as integer,Shift as integer,x as single,y as single)
PopupMenu a1
end Sub
D) private Sub Form_MouseDown(Buton as integer,Shift as integer,x as single,y as single)
if (button=vbleftButton) or (button=vbRighttButton) Then PopupMenu a1
end Sub 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询