textBox自动调整宽度

Private Sub Text1_Change()
   Label1.AutoSize = True
   Label1 = Text1
   Text1.Width = Label1.Width
End Sub

网上的,写的很巧妙,这人真的太有才了

http://zhidao.baidu.com/question/374535114.html

posted @ 2012-04-21 13:29  小四儿  阅读(554)  评论(0编辑  收藏  举报