找回密码
 加入
搜索
查看: 1539|回复: 0

[AU3基础] 在Group中怎么实现下拉条?

[复制链接]
发表于 2013-11-8 14:10:34 | 显示全部楼层 |阅读模式
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("test", 794, 572, 192, 124)
GUISetFont(12, 400, 0, "MS Sans Serif")
GUISetBkColor(0x716F64)
$Group1 = GUICtrlCreateGroup("软件列表", 144, 56, 617, 393);$WS_VSCROLL 样式不对
$Label1 = GUICtrlCreateLabel("软件名称", 224, 88, 68, 24)
$Label2 = GUICtrlCreateLabel("软件大小", 440, 88, 68, 24)
$Label3 = GUICtrlCreateLabel("当前状态", 664, 88, 68, 24)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 160, 120, 17, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox2", 160, 168, 17, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Checkbox3", 160, 224, 17, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Checkbox4", 160, 264, 17, 33)
$Checkbox5 = GUICtrlCreateCheckbox("Checkbox5", 160, 320, 17, 17)
$Checkbox6 = GUICtrlCreateCheckbox("Checkbox6", 160, 368, 17, 25)
$Checkbox7 = GUICtrlCreateCheckbox("Checkbox7", 160, 408, 17, 25)
$Checkbox8 = GUICtrlCreateCheckbox("Checkbox7", 160, 456, 17, 25)
$Checkbox9 = GUICtrlCreateCheckbox("Checkbox7", 160, 504, 17, 25)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Install", 472, 520, 97, 25)
GUICtrlSetBkColor(-1,0x716F64)
$Button2 = GUICtrlCreateButton("Exit", 632, 520, 81, 25)
GUICtrlSetBkColor(-1,0x716F64)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit
                Case $Button2
                        Exit
                        
                Case $Button1
                        MsgBox(0,"帮助","在Group中怎么实现下拉条?")
                Case $Checkbox1
        EndSwitch
WEnd
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-12-24 08:59 , Processed in 0.071650 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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