开发者

how put predifined text in text box

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜