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. PMI8940 PON (power on) trigger

    PMI8940 唯一的 PON input pin 是 SHDN_N, PM8937 的 VREG_L5 會接到 PMI8940 的 SHDN_N, PM8937 負責整個系統的 power on s ...

  2. [wxPython学习]wx.CallAfter和wx.FutureCall

    [wxPython学习]wx.CallAfter和wx.FutureCall 今天才学到的两个wxPython中的函数:wx.CallAfter和wx.FutureCall.这是两个无关的函数,但又多 ...

  3. tkinter Scale滑块

    鼠标拖动和绑定鼠标滚轮移动: import threading from tkinter import * root = Tk() v = StringVar() s1 = Scale(root,fr ...

  4. TDictionary字典 记录 的赋值。

    type TRen = record age: Integer; //把name定义成结构的属性. private Fname: string; procedure Setname(const Val ...

  5. [Python Debug] SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame.

    I Got a SettingWithCopyWarning when I ran the following code: tmp=date[date['date'].isnull().values= ...

  6. fiddle-获取 Cookie 信息

    随着网络安全(例如:登录安全等)要求的不断提升,越来越多的登录应用在登录时添加了验证码登录,而验证码生成算法也在不断的进化,因而对含登录态的自动化测试脚本运行造成了一定程度的困扰,目前解决此种问题的方 ...

  7. webpack常用配置项配置文件介绍

    一.webpack基础 1.在项目中生成package.json:在项目根目录中输入npm init,根据提示输入相应信息.(也可以不生成package.json文件,但是package.json是很 ...

  8. Unix/Linux提权漏洞快速检测工具unix-privesc-check

    Unix/Linux提权漏洞快速检测工具unix-privesc-check   unix-privesc-check是Kali Linux自带的一款提权漏洞检测工具.它是一个Shell文件,可以检测 ...

  9. Java NIO.2 使用Path接口来监听文件、文件夹变化

    Java7对NIO进行了大的改进,新增了许多功能: 对文件系统的访问提供了全面的支持 提供了基于异步Channel的IO 这些新增的IO功能简称为 NIO.2,依然在java.nio包下. 早期的Ja ...

  10. 快速乘法,幂计算 hdu5666

    在实际应用中为了防止数据爆出,在计算a*b%m和x^n%m时,可以采用此方法.在数论中有以下结论: a*b%m=((a%m)*(b*m))%m ; (a+b)%m=(a%m+b%m)%m ; _int ...