Cableguy Expert Licensed User Longtime User Apr 17, 2010 #1 How can I sort the native combobox's list WITHOUT having to use another DLL? I would have swarn the it did auto-sort but NO, it doesn't.... This will be going to my wish list, althought a bit late....
How can I sort the native combobox's list WITHOUT having to use another DLL? I would have swarn the it did auto-sort but NO, it doesn't.... This will be going to my wish list, althought a bit late....
Erel B4X founder Staff member Licensed User Longtime User Apr 17, 2010 #2 ArrayList has a sort method. So you can copy all items to an ArrayList, sort this ArrayList and then copy the items back to the ComboBox.
ArrayList has a sort method. So you can copy all items to an ArrayList, sort this ArrayList and then copy the items back to the ComboBox.
Cableguy Expert Licensed User Longtime User Apr 17, 2010 #3 I just did that!!! I was populating my combobox from an array, and the I went back to my dinamic array post and saw the addarraylist suggestion... All working fine, but still, just a workaround for something that could be simpler... Cheers Erel, btw Nice job with 6.90!!!
I just did that!!! I was populating my combobox from an array, and the I went back to my dinamic array post and saw the addarraylist suggestion... All working fine, but still, just a workaround for something that could be simpler... Cheers Erel, btw Nice job with 6.90!!!