On jeudi 27 novembre 2008, Nicolas Koch wrote: > I am in Gambas 2.9 > > And even if I do ComboBox.List = Dir(sPath) hidden folders show.
Of course: you must put Dir(sPath) in a string array, removes elements from the array, and assing the array to ComboBox1.List. > I > was trying to hide those and ComboBox1.Remove("1") was the only way I > could find that works. It works but spits out error as I said. ComboBox1.Remove("1") will remove the second element of the ComboBox. And you must use 1, not "1" which is a string. You are lucky, because Gambas automatically converts string to numbers when he needs. Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user