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. Codeforces 475D CGCDSSQ 区间gcd值

    题目链接 题意 给定一个长度为 \(n\) 的数列 \(a_1,...,a_n\) 与 \(q\) 个询问 \(x_1,...,x_q\),对于每个 \(x_i\) 回答有多少对 \((l,r)\) ...

  2. android中与Adapter相关的控件----ExpandableListView

    ExpandableListView(可折叠的列表) 一.ExpandableListView(可折叠的列表)和ListView有很多地方差不多的,使用也差不多,只是他们使用适配器不一样的,Expan ...

  3. android的布局-----GridLayout(网格布局)

    学习导图 (一)简介 网格布局由GridLayout所代表,在android4.0之后新增加的布局管理器,因此需要android4.0之后的版本中使用,如果在更早的平台使用该布局管理器,则需要导入相应 ...

  4. 《Linux命令行与shell脚本编程大全 第3版》Linux命令行---40

    以下为阅读<Linux命令行与shell脚本编程大全 第3版>的读书笔记,为了方便记录,特地与书的内容保持同步,特意做成一节一次随笔,特记录如下:

  5. BZOJ 3029 守卫者的挑战

    题面 Description 打开了黑魔法师Vani的大门,队员们在迷宫般的路上漫无目的地搜寻着关押applepi的监狱的所在地.突然,眼前一道亮光闪过."我,Nizem,是黑魔法圣殿的守卫 ...

  6. Android Studio 完美解决 “Android SDK Manager 无法更新“、 ”connection error” 的问题

    一.Android SDK Manager 无法更新 1. 打开SDK Mannger, 并选中启动单独的SDK Mannger.

  7. MATLAB逻辑函数

    %%逻辑函数 %%all:判断是否有元素非0,A是多维矩阵,all(A)是以列为单位来处理的,当前列的逻辑 %值为1,当且仅当当前列的每一个元素都非0 A=[1,2,3;0,2,1;5,0,2]; % ...

  8. Kali Linux信息收集工具全

    可能大部分渗透测试者都想成为网络空间的007,而我个人的目标却是成为Q先生! 看过007系列电影的朋友,应该都还记得那个戏份不多但一直都在的Q先生(由于年级太长目前已经退休).他为007发明了众多神奇 ...

  9. Hibernate get load的区别

    这两个函数都是用来从数据库中加载对象,其区别说起来主要有以下两点: 1.如果数据库中不存在该对象,那么load是抛出一个ObjectNotFound的异常,而get是返回一个空指针 2.加载机制不同 ...

  10. GCC编译笔记

    需要移植一个vs2008的项目到linux上,代码比较复杂,重新写比较困难,于是开始折腾 首先移植到codeblocks上,sprints_s这类的vs函数都要改,windows调用要改 编译通过 c ...