标签: string textbox default inputbox
Dim result As String = InputBox("title", "The Prompt Text", "default text")
如何将默认文字设为textbox1.text?
textbox1.text
答案 0 :(得分:0)
我使用以下方法解决了这个问题:
Dim pretext As String = textbox1.Text Dim plaintext As String = InputBox("title", "The Prompt Text", pretext)