本帖最后由 haorui658 于 2010-3-7 16:05 编辑 $Addsub = GUICreate("Add configuration", 300, 250)
$NAME_Label = GUICtrlCreateLabel("NAME", 30, 40, 200, 20)
$IP_Label = GUICtrlCreateLabel ("IP", 30, 70, 200, 20)
$MASK_Label = GUICtrlCreateLabel ("MASK", 30, 100, 200, 20)
$GW_Label = GUICtrlCreateLabel ("GW", 30, 130, 200, 20)
$DNS_Label = GUICtrlCreateLabel ("DNS", 30, 160, 200, 20)
$NAME = GUICtrlCreateInput ("", 70, 40, 150, 25)
$IP = GUICtrlCreateInput ($Addsub, 70, 70, 150, 25)
GUISetState(@SW_SHOW)
如上代码 GUICtrlCreateInput创建的控件很难点击,只能点击下方的红色区域光标才能在输入框中 |