举报
$hGUI = GUICreate("", 550, 300) Dim $aButton[11] =[10], $iPos = 10, $aPath[11] = [10] GUISetState() For $i = 1 to 10 $aButton[$i] = GUICtrlCreateButton("Btn " & $i, $iPos, 20, 40, 20) $aPath[$i] = "c:" & $i & ".txt" $iPos += 55 Next Do $iMsg = guiGetMsg() If $iMsg < 3 or $iMsg > 12 Then ContinueLoop If $iMsg = $aButton[$iMsg - 2] Then Msgbox(0, '', $aPath[$iMsg - 2]) EndIf Until $iMsg = -3
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-25 15:23 , Processed in 0.098343 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.