Home > database >  Consult pb analog to digital keyboard problem, thank you for your masters, be urgent!
Consult pb analog to digital keyboard problem, thank you for your masters, be urgent!

Time:10-12

Himself in the development of a system, a touch screen problems, is to simulate a digital keyboard,
I made a few buttons, such as: 1, 2, 3, 4,,,, to simulate, but set the text box, my text box for editmask
, but how to lose, really don't know how to deal with, please grant instruction,,,,,,,,
Button code for:
If flag=1 or flag_3=1 then
Em_6. Text=""
Em_6. Text=em_6. + this text. The text
Flag=0
Flag_3=0
The else
Em_6. Text=em_6. + this text. The text
End the if

CodePudding user response:

Because your EM_6. The text is null values, so how are null values, you can decide if len (trim (EM_6. Text)) & gt; 0 then em_6. Text=em_6. Text +. This text else em_6. Text=this. The text

CodePudding user response:

Write the code so

If len (em_6. Text) & gt; 0 then
Em_6. Text +=this. Text
The else
Em_6. Text=this. Text
end if
  • Related