关于Checkbox Topic is solved

遇到了问题?请先进行搜索(中文和英文),然后在此提问
SkyLife
Posts: 19
Joined: 18 May 2017, 20:53

关于Checkbox  Topic is solved

18 May 2017, 21:16

Code: Select all

Gui, Show, w100 h100
Gui, add, checkbox, gStart x20 y40 , Start
Gui, add, checkbox, Disabled vA1 x20 y60 , A1 ;一开始就使不能是用的状态

Start:
{
	GuiControl, -Disabled , A1, ;选取Start后,让A1能使用
}
如何让Start取消选取时,A1变成不能使用
User avatar
Alguimist
Posts: 297
Joined: 05 Oct 2015, 16:41
Contact:

Re: 关于Checkbox

19 May 2017, 00:45

Code: Select all

Gui, Show, w100 h100
Gui, add, checkbox, vStart gStart x20 y40 , Start
Gui, add, checkbox, +Disabled vA1 x20 y60 , A1 ;一开始就使不能是用的状态
Return

Start:
{
    Gui Submit, NoHide
    GuiControl, % Start ? "Enable" : "Disable", A1
}
SkyLife
Posts: 19
Joined: 18 May 2017, 20:53

Re: 关于Checkbox

19 May 2017, 02:13

谢谢

Return to “请求帮助”

Who is online

Users browsing this forum: No registered users and 2 guests