TECLADO虚拟EM VB 6.0 [英] TECLADO VIRTUAL EM VB 6.0

查看:181
本文介绍了TECLADO虚拟EM VB 6.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好,

我想知道是否有人知道如何创建在触摸PC上使用的虚拟键盘...

我只需要键盘的数字部分,以便用户在公司的此处输入注册信息....

我设法用以下代码将其删除:

Good morning,

I wonder if anyone knows how to create a virtual keyboard to be used on a touch pc ...

I need only the numeric part of the keyboard as it is for the user to enter the registration here in the company ....

I''ve managed to delete it with this code:

Private Sub cmbApagar_Click()
    txtRL.SetFocus
    If txtRL.Text = "" Then
        MsgBox "Não há nenhuma informação para apagar!", vbInformation, "Atenção !"
'="There is no information to delete!"
    Else
       txtRL.Text = Left(txtRL.Text, Len(txtRL.Text) - 1)
    End If

End Sub




我使用相同的逻辑插入数字,但失败了.
有人可以帮我吗?


史密瑟斯·琼斯(smithers-jones)从protuguese译来的




I made this same logic to insert the numbers, but failed.
Please can someone help me?


translated from protuguese by Smithers-Jones

推荐答案

插入数字不是最简单的部分吗?

对于每个按钮单击,您都可以简单地添加它代表的数字,例如:

Wouldn''t inserting the numbers be the most easy part?

For each button click you can simply add the number it represents, like:

Private Sub btn_1_Click()
    txtRL.Text = txtRL.Text & "1"    
End Sub

Private Sub btn_2_Click()
    txtRL.Text = txtRL.Text & "2" 
End Sub


等...

祝你好运!


etc...

Good luck!


这篇关于TECLADO虚拟EM VB 6.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆