找回密码
 立即注册

QQ登录

只需一步,快速开始

beitesting

中级会员

28

主题

92

帖子

794

积分

中级会员

积分
794

活字格认证

beitesting
中级会员   /  发表于:2014-1-26 18:30  /   查看:5981  /  回复:1
NET InputMan Ver:7.0
在InputMan的Date和Number控件中,不设置任何快捷键的情况下,按下F4后默认能够弹出下拉列表,如何禁用F4快捷键?

1 个回复

倒序浏览
Leo
超级版主   /  发表于:2014-1-27 09:51:00
沙发
介个简单,你把F4键指定成一个其他的Action,比如说Refresh即可。
以下为窗体设计器生成代码,供参考:
  1.             this.gcShortcut1.SetShortcuts(this.gcDateTime1, new GrapeCity.Win.Editors.ShortcutCollection(new System.Windows.Forms.Keys[] {
  2.                 System.Windows.Forms.Keys.F4}, new object[] {
  3.                 ((object)(this.gcDateTime1))}, new string[] {
  4.                 "Refresh"}));
复制代码
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部