hi, i haven't got gambas3 already but in gb2 it's like this: ComboBox1.Index + 2 (if i looked up correctly what combobox.ListIndex in vb means) if you want to set the current item in this box, you can assign a number to combobox1.Index, setting combobox1.Current doesn't work...? i hope this works for gb3, too. the docs doesn't say a word that Index is also read-only.
regards, tobi ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user