下面是我的程序。在这里,我的意图是在用户按下Button后显示三个CheckBox。单击- Button后它们确实会出现,但我无法单击CheckBoxes。可能是什么原因?ok
#include <GUIConstants.au3>
$gui = GuiCreate("Hello World", 700, 600)
$Label_HelloWorld = GuiCtrlCreateLabel("Path", 40, 20, 300, 600)
$Button_OK = GuiCtrlCreateButton("OK", 450, 20, 50, 20)
GuiSetState(@SW_SHOW, $gui)
While True
$guimsg = GuiGetMsg()
Select
Case $guimsg == $GUI_EVENT_CLOSE
GuiDelete($gui)
ExitLoop
Case $guimsg == $Button_OK
$Label_sub_folder1 = GuiCtrlCreateLabel("Select the subfolder", 40, 65, 300, 600)
$CheckBox1 = GUICtrlCreateCheckbox('functionality', 40, 85, 80, 23)
$CheckBox2 = GUICtrlCreateCheckbox('performance', 160, 85, 80, 23)
$CheckBox3 = GUICtrlCreateCheckbox('listening', 280, 85, 80, 23)
Sleep(50000)
ExitLoop
EndSelect
WEnd