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

starin
Banned
Registered: 2016-11-09
Posts: 12

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"

Offline

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

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
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
Banned
Registered: 2016-11-09
Posts: 12

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

Thank you so much ,  works.

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.