KeyCode values for keyboard keys

Type of key

KeyCode values and descriptions

Mouse buttons

  • KeyLeftButton!    Left mouse button
  • KeyMiddleButton!    Middle mouse button
  • KeyRightButton!    Right mouse button

Letters

KeyA! - KeyZ!     A - Z, uppercase or lowercase

Other symbols

  • KeyQuote!     ' and "
  • KeyEqual!     = and +
  • KeyComma!   , and <
  • KeyDash!    - and _
  • KeyPeriod!    . and >
  • KeySlash!    / and ?
  • KeyBackQuote!    ` and ~
  • KeyLeftBracket!    [ and {
  • KeyBackSlash!    \ and |
  • KeyRightBracket!    ] and }
  • KeySemiColon!    ; and :

Non-printing characters

  • KeyBack!    Backspace
  • KeyTab!
  • KeyEnter!
  • KeySpaceBar!

Function keys

KeyF1! - KeyF12!    Function keys F1 to F12

Control keys

  • KeyShift!
  • KeyControl!
  • KeyAlt!
  • KeyPause!
  • KeyCapsLock!
  • KeyEscape!
  • KeyPrintScreen!
  • KeyInsert!
  • KeyDelete!

Navigation keys

  • KeyPageUp!
  • KeyPageDown!
  • KeyEnd!
  • KeyHome!
  • KeyLeftArrow!
  • KeyUpArrow!
  • KeyRightArrow!
  • KeyDownArrow!

Numeric and symbol keys

  • Key0!    0 and )
  • Key1!    1 and !
  • Key2!    2 and @
  • Key3!    3 and #
  • Key4!    4 and $
  • Key5!    5 and %
  • Key6!    6 and ^
  • Key7!    7 and &
  • Key8!    8 and *
  • Key9!    9 and (

Keypad numbers

KeyNumpad0! - KeyNumpad9! 0 - 9 on numeric keypad

Keypad symbols

  • KeyMultiply!    * on numeric keypad
  • KeyAdd!    + on numeric keypad
  • KeySubtract!    - on numeric keypad
  • KeyDecimal!    . on numeric keypad
  • KeyDivide!    / on numeric keypad
  • KeyNumLock!
  • KeyScrollLock!

PowerBuilder -- 键盘对应的枚举值的更多相关文章

  1. Day 12:枚举值、枚举类

    jdk1.5新特性之-----枚举 问题:某些方法所接收的数据必须是在固定范围之内的,  解决方案: 这时候我们的解决方案就是自定义一个类,然后是私有化构造函数,在自定义类中创建本类的对象对外使用. ...

  2. .NET陷阱之六:从枚举值持久化带来大量空间消耗谈起

    好长时间没有写博文了,今天继续. 这次跟大家分享的内容起因于对一个枚举值列表的序列化,下面简化后的代码即能重现.为了明确起见,我显式指定了枚举的基础类型. // 定义一个枚举类型. public en ...

  3. AX2012 multiple enum values as query filter选择多个枚举值当过滤条件

    classDeclaration { QueryBuildRange qbrLocationType; } datasource.init() { super(); qbrLocationType = ...

  4. 获取枚举值上的Description特性说明

    /// <summary> /// 获取枚举值上的Description特性说明 /// </summary> /// <typeparam name="T&q ...

  5. C#八皇后问题 枚举值

    记得刚出道的时候, 有考虑怎么面试, 以及可能会遇到的面试题, 有一个人说了一下 八皇后问题, 据说要用 sql 语句写出来, 暂时我 写了一个C#版本的, 经测验,八皇后算法结果为 92种, 这个与 ...

  6. MVC3不能正确识别JSON中的Enum枚举值

    一.背景 在MVC3项目里,如果Action的参数中有Enum枚举作为对象属性的话,使用POST方法提交过来的JSON数据中的枚举值却无法正确被识别对应的枚举值. 二.Demo演示 为了说明问题,我使 ...

  7. 在C#中如何读取枚举值的描述属性

    在C#中,有时候我们需要读取枚举值的描述属性,也就是说这个枚举值代表了什么意思.比如本文中枚举值 Chinese ,我们希望知道它代表意思的说明(即“中文”). 有下面的枚举: 1 2 3 4 5 6 ...

  8. 利用DescriptionAttribute定义枚举值的描述信息 z

    System.ComponentModel命名空间下有个名为DescriptionAttribute的类用于指定属性或事件的说明,我所调用的枚举值描述信息就是DescriptionAttribute类 ...

  9. C# .NET 获取枚举值的自定义属性(特性/注释/备注)信息

    一.引言 枚举为我看日常开发的可读性提供的非常好的支持,但是有时我们需要得到枚举值得描述信息或者是注释(备注)信息 比如要获得 TestEmun.aaa 属性值得备注 AAA,比较不方便得到. pub ...

随机推荐

  1. linux下創建啓動圖標

    Linux下如何为刚安装好的Eclipse在桌面建一个启动图标?(QtCreator 也可以类似去做). 首先:gedit    /usr/share/applications/eclipse.des ...

  2. 如何在Linux的桌面上创建快捷方式或启动器

    如果在Linux桌面系统中你经常使用一个程序,你可能想去创建一个“桌面快捷方式”,以便于你在桌面只要点击一下快捷方式就可以启动它.虽然不少带有图形界面的程序会在安装时自动在桌面上创建快捷方式,还有一些 ...

  3. request.setAttribute()、session.setAttribute()和request.getParameter()的联系与区别

    1.session.setAttribute()和session.getAttribute()配对使用,作用域是整个会话期间,在所有的页面都使用这些数据的时候使用. 2.request.setAttr ...

  4. Sql Server 2005 mdf、ldf文件无法复制问题

    [问题原因]Sql Server服务只要启动就一直占用,故无法进行编辑操作. [解决办法 - 1]: 1)在开始-运行对话框中输入"services.msc”,显示如下界面: 2)关闭如上选 ...

  5. 强连通分量(Tarjan)模板

    贴模板,备忘. 模板1: #include<iostream> #include<cstring> #include<cmath> #include<cstd ...

  6. A Wasserstein Distance[贪心/模拟]

    链接:https://www.nowcoder.com/acm/contest/91/A来源:牛客网 最近对抗生成网络(GAN)很火,其中有一种变体WGAN,引入了一种新的距离来提高生成图片的质量.这 ...

  7. mysql事物隔离级别

    mysql实现了四种隔离级别 Read Uncommitted(未提交读) 在该隔离级别,所有事务都可以看到其他未提交事务的执行结果.本隔离级别很少用于实际应用,因为它的性能也不比其他级别好多少.读取 ...

  8. 使用nginx实现的灰度发布思路研究(待实践)

    灰度发布也叫 A/B 测试,原理是一套系统在实现了负载均衡,全国节点都部署了系统之后,可以在新功能上线后,让一小部分用户先使用,从中收集使用信息来做对比和发现bug,及时调整,最终分发到全国的节点. ...

  9. java项目热加载工具jrebel

    flask有热加载的功能,修为代码后,自动生效. java项目也有类似的功能,不过需要使用收费的插件jrebel 提供一个免费的注册服务器:http://139.199.89.239:1008/884 ...

  10. OpenSceneGraph-3.3.3

    OpenSceneGraph-3.3.3, [/b]released on 19th December 2014, key deliverables in this dev release are: ...