Re: [VB6 ] command enable的問題

看板Visual_Basic作者 (矇面加菲獅)時間18年前 (2007/06/10 17:05), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/3 (看更多)
※ 引述《Vanir ( )》之銘言: : 若是我現在 : 有三個text 分別為 text1, text2, text3 : 一個command 為command1 : 我想要做到當使用者把 : text1.text ,text2.text text3.text裡面都輸入數值之後 : command1.enabled = true : (初始情況為 false 還沒輸入那三個值之前 我不給使用者按這個鈕) : 請問該怎麼寫? : 先謝謝回應的大大了@@~~~ Private Sub Text_Change() Command1.Enabled = _ (Text1.Text <> "" And Text2.Text <> "" And Text3.Text <>"") End Sub Private Sub Text1_Change() Text_Change() End Sub Private Sub Text2_Change() Text_Change() End Sub Private Sub Text3_Change() Text_Change() End Sub -- ▃▅▇▆▄ ▆▂▃ ` 逝去感如何能留住,半點遺留殊不易,██▅▇▄▃ ▇▃▂" . █████████▃i ▁▄▇ 更多悽悽慘慘的遭遇………██▆▃ █▅▆▃ˍ▄* ▂█▄▇▅▂. 我不知道,王~八~蛋~~! ▂▆███ █▄▃ 。fumizuki。Check。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.194.224.174

06/10 17:24, , 1F
還是不行~~@@ 不過謝謝 我再試試看~~~ thx~~
06/10 17:24, 1F
文章代碼(AID): #16Qxw_DW (Visual_Basic)
文章代碼(AID): #16Qxw_DW (Visual_Basic)