举报
GUICreate("My GUI combo") $cob = GUICtrlCreateCombo("請選擇",10,10,100) ; ?建一列表框(ComboBox)控件 GUICtrlSetData(-1, "item2|item3", "請選擇") ; 在列表框中添加新目,并置一新的默值 GUISetState() While 1 $msg = GUIGetMsg() Switch $msg Case -3 Exit Case $cob MsgBox(0,'','你选择了:' & GUICtrlRead($cob)) EndSwitch WEnd
查看全部评分
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-5-7 16:09 , Processed in 0.111578 second(s), 28 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.