本文介绍了值不在textbox1_keypress上播种的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1-当我在

TextBox1_KeyPress

事件值未在TextBox1中显示



2 - 当我在

event value not be showing in TextBox1

2- When i enter "1" in

TextBox1_TextChanged

在TextBox中显示的事件值



我试过的:



event value showing in TextBox

What I have tried:

Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
      Array(0) = TextBox1.Text ' Showing
  End Sub

  Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress
      Array(0)= TextBox1.Text 'Not showing
  End Sub

推荐答案


这篇关于值不在textbox1_keypress上播种的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 15:41