找回密码
 加入
搜索
楼主: asura

[GUI管理] 怎么在2个GUICtrlCreateGroup组中同时只能选在一个按钮选项呢(已解决)

 火.. [复制链接]
发表于 2011-12-21 01:13:54 | 显示全部楼层
第10行 GUIStartGroup() 纯属多余~
afan 发表于 2011-12-20 23:34

呵呵!果然,改成
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 623, 449, 192, 114)
$Group1 = GUICtrlCreateGroup("总体", 72, 64, 505, 321)
$Group2 = GUICtrlCreateGroup("系统类", 120, 136, 201, 169)
$Group3 = GUICtrlCreateGroup("输入法", 328, 136, 209, 169)
$Radio1 = GUICtrlCreateRadio("IE修复", 144, 176, 65, 17)
$Radio2 = GUICtrlCreateRadio("系统补丁", 240, 177, 73, 17)
$Radio3 = GUICtrlCreateRadio("搜狗输入法", 351, 172, 89, 17)
$Radio4 = GUICtrlCreateRadio("五笔输入法", 452, 175, 81, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit

        EndSwitch
WEnd
发表于 2012-1-26 01:12:46 | 显示全部楼层
学习了,有收获
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-6-11 16:07 , Processed in 0.073757 second(s), 14 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表