Re: [AHK-] 如何同時使用兩個GUI介面呢?
借用標題,請問第二個選單如何讓Send按鈕可以正常對應ButtonSend
目前的狀況是Send這個按鈕完全無反應
謝謝
解決了,多補個紅字就成功了
Gui, Show, center w120 h100, menu1
Gui, Add, Button, x0 y0 w120 h50 gGui2, A1
Return
Gui2:
Gui, 2:Show,center w200 h150, menu2
Gui, 2:Add, Text,x10 y5, 帳號:
Gui, 2:Add, Edit,x50 y2
Gui, 2:Add, Text,x10 y30, 密碼:
Gui, 2:Add, Edit,x50 y25
Gui, 2:Add, Button, x50 y80 w100 h50 gSend, Send
return
ButtonSend:
GuiControlGet, id,,Edit1
GuiControlGet, pwd,,Edit2
MsgBox %id%
MsgBox %pwd%
return
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 203.70.124.133
※ 文章網址: https://www.ptt.cc/bbs/EzHotKey/M.1474817719.A.38B.html
※ 編輯: piligo (203.70.124.133), 09/26/2016 00:08:35
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):
EzHotKey 近期熱門文章
PTT數位生活區 即時熱門文章