#1 2017-07-05 11:28:02

starin
Guest

How I can set my Select control's item index?

i want to select number 2 item of my list box items with code , but why this code not work ????

SetVar "[Select1.ItemIndex]" "2"

#2 2017-07-05 11:29:31

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,715
Website

Re: How I can set my Select control's item index?

Hello starin,

Your syntax is not correct. You must write something like this:

SetVar "[Select1.ItemIndex]" "2" "Number"

See here the SetVar action's help reference.

Offline

#3 2017-07-05 11:31:21

starin
Guest

Re: How I can set my Select control's item index?

Thank you so much ,  works.

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.