プルダウンの項目とOK、Canselボタンをだす




dim XSIDial, aItems
set XSIDial = CreateObject("XSIDial.XSIDialog" )


aItems = Array( "Item1", "Item2", "Item3" )
indx = XSIDial.ComboEx( "Window Title", aItems, 2 )


if ( indx = -1 ) then
logmessage "User cancelled"
else
logmessage "User selected: " & aItems( indx )
end if