MenuItem 类的Select 事件和Click 事件有什么区别?

mengshui 2003-09-04 09:06:44
rt
...全文
144 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
chengfh 2003-09-09
  • 打赏
  • 举报
回复
click event
Occurs when the menu item is clicked or selected using a shortcut key or access key defined for the menu item.

select event
Occurs when the user places the cursor over a menu item.
mengshui 2003-09-09
  • 打赏
  • 举报
回复
up
alexy 2003-09-08
  • 打赏
  • 举报
回复
只有设置为可以选择的菜单项(就是我们在菜单中看到前面带一个勾的那种)才有select事件。
zhulb 2003-09-07
  • 打赏
  • 举报
回复
click event
Occurs when the menu item is clicked or selected using a shortcut key or access key defined for the menu item.

select event
Occurs when the user places the cursor over a menu item.

you can see the difference
ATField 2003-09-04
  • 打赏
  • 举报
回复
你点一下就是先选择(Select)再Click
Select指的就是菜单被选择(这时还没有点击呢)
比如鼠标在菜单上面移动(或者按方向键),菜单的颜色改变,这个就是选择(Select)

Select event occurs when the user places the cursor over a menu item
thp 2003-09-04
  • 打赏
  • 举报
回复
Select是状态,Click是动作

1,979

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 其他语言讨论
社区管理员
  • 其他语言社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧