ComboBox1.Index = ComboBox1.Count
Print ComboBox1.Index, ComboBox1.Count
out put is -1 7
ComboBox1.Index = 4
Print ComboBox1.Index, ComboBox1.Count
out put is 4 7
Dim x As Integer = ComboBox1.Count
ComboBox1.Index = x
Print x, ComboBox1.Index, ComboBox1.Count
output is 7 -1 7
Dim x As Integer = 4
ComboBox1.Index = x
Print x, ComboBox1.Index, ComboBox1.Count
output is 7 4 7
Seams to work with a number ... but not with .count how can I convert .count to a number , I have tried ABS .,. ASC ... VAL ... STR... NO JOY
for some reason combobox1.count is not an integer ??
what am I doing wrong ???
my program is attached with the problem at lines 86 to 90