10-06-2009, 03:07 PM
it is obvious. see, in your code you statement 'msgbox i' clearly says to get an output for values of your variable 'i'
and in the for loop i varies from 0 to 1.
so you are getting the values as 0 and 1.
I guess you are trying to get the selected item.
if yes then use GetSelection method.
e.g.
and in the for loop i varies from 0 to 1.
so you are getting the values as 0 and 1.
I guess you are trying to get the selected item.
if yes then use GetSelection method.
e.g.
Code:
msgbox SwfWindow(" ").SwfComboBox("SwfComboBox").GetSelection