返回列表 上一主題 發帖

CommandButton click 影響另一個CommandButton

CommandButton click 影響另一個CommandButton

假設我的CommandButton1_click下已觸發事件,
請問我要如何利用CommandButton2_click來改變CommandButton1的click事件

麻煩各位了

喔喔    抱歉抱歉
我貼我的原始碼看看
Private Sub CommandButton1_Click()
  Call sndPlaySound("C:\Users\Desktop\wav\bee.wav", SND_ASYNC)
End Sub
這邊是CommandButton1的第一個click事件
我想問的是我可以利用click CommandButton2來改變CommandButton1的click事件嗎?

即click button2 後  改變button1的播出音檔來源


不好意思沒有描述清楚  <(_ _)>

TOP

回復 5# c_c_lai

謝謝您~~~
還貼心的用例子
真的很感謝你!!!

TOP

        靜思自在 : 不要隨心所欲,要隨心教育自己。
返回列表 上一主題