VBscript filling Dropdown: how to preselect one value? Follow

0
Avatar
Ryan Knyssl

Hello there,

 

I have various dropdowns working with mysql database connection and filling with VBscript.

What I could not solve until now - maybe it's just too obvious:

How can I preselect a special value?

I fill my list as usual in a loop with "options = options + vbCR", and return it with "Value=options".

Is there any flag like "SELECTED" or similar I can add in the options value to preselect one value?

Example:

Value 1

Value 2

Value 3 SELECTED

Value 4

We use BarTender 10.0 SR4.

Thanks a lot!

Please sign in to leave a comment.