登录社区:用户名: 密码: 忘记密码 网页功能:加入收藏 设为首页 网站搜索  

文档

下载

图书

论坛

安全

源码

硬件

游戏
首页 信息 空间 VB VC Delphi Java Flash 补丁 控件 安全 黑客 电子书 笔记本 手机 MP3 杀毒 QQ群 产品库 分类信息 编程网站
 内容搜索 网页 下载 源代码
最新源码
  为您的应用程序设置热键
  在任务条里隐藏应用程序,..
  读写桌面的theme文件,改变..
  用于管理任何结构的数据列..
  封装了Windows API ExitWi..
  为操作系统注册一个组合键..
  为大的单元提供大的指针,..
  图标工具,读图标和写图标..
  LiveGUID
  用做内存map文件的3个类
  提供系统的详细信息
  可变的动态记录类,以阵列..
热点源码
  RasDial拨号程序
  如何使能/取消Ctrl+Alt+Ca..
  通过串行口的事件驱动串行..
  提供简化的功能的组件
  运用注册表,INI文件,数据..
  如何防止第二个程序执行,..
  演示只通过API如何建立,处..
  从程序中添加/调整/编辑
  将此组件放到form里,程序..
  如何拖动没有边界的窗体
  一个VCL控件,提供时间,N..
  压缩了WDDX SDK COM 库的类
最新招聘信息

您现在的位置:立华软件园->源码中心->Delphi代码->系统控制
在屏幕上显示一个字母或数字键盘,从TPanel中导出
发表日期:2003-10-10文件大小:9725 下载次数:1898  

源代码说明:
TKeyboard displays an alphanumeric or numeric keyboard on the screen. TKeyboard is derived from TPanel. Shift and Caps lock: The behavior of the shift key is slightly different than on real keyboards. Pressing shift once puts TKeyboard in shift mode and TKeyboard displays the second function of the keys. After pressing one key TKeyboard falls back in normal mode. Caps lock works just as it does in a real keyboard. The CharCase property controls the case of the returned characters. On ecUpper all characters are converted to uppercase, on ecLower all characters are converted to lowercase, on ecNormal characters are in lowercase when not in shift or caps mode. If in shift or caps mode all characters are in uppercase. Through the LinkedControl property TKeyboard can be linked to any descendant of TWinControl. By linking a control to TKeyboard, keys pressed on TKeyboard are passed to the linked control. This is especially usefull for TEdit, TMemo, TRichtText and TComboBox (and the corresponding ...DB.. controls). TWinControl is used as LinkedControl class because its the first common anchestor for all the controls above. The keyboard layout of TKeyboard reflects a standard US keyboard. The layout can be changed by changing the ANLRow constants below.

立即下载

我来说两句】 【发送给朋友】 【加入收藏】 【返加顶部】 【打印本页】 【关闭窗口
中搜索 在屏幕上显示一个字母或数字键盘,从TPanel中导出
关于我们 / 合作推广 / 给我留言 / 版权举报 / 意见建议 / 广告投放 / 友情链接

Copyright ©2001-2003 Allrights reserved
e_mail:站长:webmaster(at)lihuasoft.net
网站编程QQ群  
京ICP备05001064号

页面生成时间:0.00499