当前位置:网站首页>See how the interface control devaxpress WinForms creates a virtual keyboard
See how the interface control devaxpress WinForms creates a virtual keyboard
2022-06-28 15:23:00 【Interface development Starling】
In text , We will show you how to use WinForms SvgImageBox Editor to simulate the virtual keyboard .
obtain DevExpress WinForms v21.2 Official download
To help get started , We created one GitHub Example , You can use it as a reference :SvgImageBox – Virtual keyboard from SVG file, Copy example SVG Keyboard image and change the following parameters to meet your requirements :
- "keys" The number of keys in the section ;
- Of each key X and Y coordinate ;
- key Of ID;
- total SVG Image size .
<?xml version="1.0" encoding="utf-8"?>
<svg width="Image_Width" height="Image_Height" ...>
<defs>
<g id="key">
<path .../>
<text ...>
<tspan ...">[key]</tspan>
</text>
</g>
</defs>
<g id="keys">
<use id="Key_ID" href="#key" transform="matrix(1, 0, 0, 1, Key_X, Key_Y)/>
...
</g>
</svg>
You can modify these parameters in any Notepad like editor .
When the keyboard image is ready , Load it into SvgImageBox Control , And then from our GitHub Copy and paste the code in the example . No matter what SVG How about the keyboard layout , This generic code works . SendKeys.Send Method to send the key value to the active text field , So you don't need to bind the keyboard to each input box .
DevExpress WinForm | Download trial
DevExpress WinForm Have 180+ Components and UI library , for Windows Forms Platform to create influential business solutions .DevExpress WinForms It can perfectly build fluency 、 Beautiful and easy to use applications , Whether it's Office Style interface , Or analyze and process a large number of business data , It can be easily competent !
DevExpress Technology exchange group 6:600715373 Welcome to group discussion
边栏推荐
- Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
- 不要使用短路逻辑编写 stl sorter 多条件比较
- Could you tell me whether the batch addition of Oracle such as insert all was not blocked?
- Opengauss kernel: analysis of SQL parsing process
- R language ggplot2 visualization: use the patchwork package (directly use the plus sign +) to horizontally combine a ggplot2 visualization result and a piece of text content to form a final result gra
- 买卖股票的最佳时机
- 数组中的第K大元素[堆排 + 建堆的实际时间复杂度]
- 环保产品“绿色溢价”高?低碳生活方式离人们还有多远
- Flutter dart语言特点总结
- web Worker 轮询请求
猜你喜欢
Power battery is divided up like this
GBASE南大通用亮相第六届世界智能大会
一文教你快速生成MySQL数据库关系图
MIPS汇编语言学习-02-逻辑判断-前台输入
Successful cases of rights protection of open source projects: successful rights protection of SPuG open source operation and maintenance platform
Express template engine
[C language] nextday problem
Curve 替换 Ceph 在网易云音乐的实践
抽奖动画 - 鲤鱼跳龙门
WPF 视频硬解码渲染播放(无空域)(支持4K、8K、高帧率视频)
随机推荐
R language ggplot2 visualization: the patchwork package is used to customize and combine the three ggplot2 visualization results to form a composite graph. After the horizontal combination of two sub
Yiwen teaches you to quickly generate MySQL database diagram
DBMS in Oracle_ output. put_ Line output problem solving process
How to solve the following problems in the Seata database?
MIPS assembly language learning-01-sum of two numbers, environment configuration and how to run
WSUS客户端访问服务端异常报错-0x8024401f「建议收藏」
Case driven: a detailed guide from getting started to mastering shell programming
Smart supplier management system for chemical manufacturing industry deeply explores the field of supplier management and improves supply chain collaboration
买卖股票的最佳时机
openGauss内核:SQL解析过程分析
币圈大地震:去年赚100万,今年亏500万
张同学还没学会当主播
halcon 基础总结(一)裁切图片并旋转图像
Could you tell me whether the batch addition of Oracle such as insert all was not blocked?
ROS知识点——ROS创建工作空间
Jackie Chan and fast brand, who is the Savior of Kwai?
隆重推出 Qodana:您最爱的 CI 的代码质量平台
What! One command to get the surveillance?
Curve 替换 Ceph 在网易云音乐的实践
从莫高窟到太平洋,海量数据找到了新家园