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 textCodePudding user response:
Write the code soIf len (em_6. Text) & gt; 0 then
Em_6. Text +=this. Text
The else
Em_6. Text=this. Text
end if