The 'ComboBoxSetCurSel' function selects the data of ComboBox object.
void @ComboBoxSetCurSel(string class_name, int index);
Parameters
string class_name : Class name of ComboBox object.
int index : Index that you want to select. (If the number of data is four[10, 20, 30, 40], the index is as follows:10[index = 0], 20[index = 1], 30[index = 2], 40[index = 3])
Return Value
None
Example
@ComboBoxSetCurSel("ComboBox1", 0);
Description : Assume that data of 'ComboBox1' are four[10, 20, 30, 40]. If you excute the above statement, '10'(the data of index '0') is selected.
<Before Running>
<After Running>
Relate items)