| || |
How can select Item on Combobox
I have 2 form: On the first, I have a textbox and Edit button. When I click Edit-> The secord 's opened. It has a combobox and I used ListIndex to select one Item but when I pass Item value to the textbox on first form. It didn't get any value
Help me please.My codes are
for i=1 to .ActiveX("").Object.Listcount
if StrComp(t,"my text",1)=0 then
' Click Save button to save and return a first form
.ActiveX("FarPoint fpBtn_2").Click 82,15
Is it true?
Re: How can select Item on Combobox
U try it by using the "selection" property for the combobox,
t=.ActiveX("").GetROProperty("Selection") in place of t=.ActiveX("").GetROProperty("Text")
Hope the problem gets solved.