开发者

how put predifined text in text box

开发者 https://www.devze.com 2023-01-23 03:56 出处:网络
how do i put text in a text box that shows up on start i used the 开发者_开发问答following but it dont work?

how do i put text in a text box that shows up on start i used the 开发者_开发问答following but it dont work?

    TextBox1.Text = "enter your name here!"

the text box remains empty?

ta-


You must do the code on form_load. Set the text property to "enter your name here" as you already have.

TextBox1.Text = "enter your name here!"


try TextBox1.Value = "enter your name here!"

0

精彩评论

暂无评论...
验证码 换一张
取 消