delphi 切换大小写的例子


本文整理自网络,侵删。

 
CapLock(True); (* 大写 *) CapLock(False); (* 小写 *)
//(* 键盘大小写锁定 *)Procedure CapLock(bLockIt: boolean);Var  Level : Integer;  KeyState : TKeyBoardState;begin  Level := GetKeyState(VK_CAPITAL);  GetKeyboardState(KeyState);  if bLockIt then    KeyState[VK_CAPITAL] := 1  else    KeyState[VK_CAPITAL] := 0;  setKeyboardState(KeyState);end;

相关阅读 >>

Delphi ini 文件操作记要: 使用 tmeminifile

Delphi tlistview(tlistbox+图标显示)

Delphi远程线程注入获取qq密码

Delphi xe2获取文件的 md5、crc、sha-1、sha-256、sha-512

Delphi idhttp post 普通提交乱码处理

Delphi中强制idhttp使用http1.1

Delphi for 循环输出 a-z

Delphi实现ftp上传与下载

Delphi判断文件是否正在被使用

Delphi windows服务控制单元

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...