返回列表 上一主題 發帖

[發問] CommandButton1_Click()內如果有CommandButton1是否可以寫成Me?

me 的對象是form,不是event對應的物件

Private Sub CommandButton1_Click()
   TextBox1 = me.CommandButton1.Caption
End Sub
懂得發問,答案就會在其中

今日の一秒は  明日にない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

        靜思自在 : 受人點水之恩,須當湧泉以報。
返回列表 上一主題