|
各位前辈:
我刚接触编辑脚本,有个问题请教,如何把几个组合列表框内填入的值合并成一串字符?请前辈赐教,先谢了!
如下图所示:
用KODA图形编辑器做的初始脚本如下:
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=d:\我的文档\Form1.kxf
$Form1 = GUICreate("Form1", 282, 271, 426, 194)
$Combo1 = GUICtrlCreateCombo("Combo1", 16, 16, 241, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
$Combo2 = GUICtrlCreateCombo("Combo2", 16, 56, 241, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
$Input1 = GUICtrlCreateInput("Input1", 16, 144, 241, 21)
$Button1 = GUICtrlCreateButton("确定", 56, 184, 161, 65)
$Combo3 = GUICtrlCreateCombo("Combo3", 16, 96, 241, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入
×
|