[Gambas-user] Combobox1.sort=true sorts different then Astring.sort
Benoit Minisini
gambas at ...1...
Wed Jan 9 12:27:06 CET 2008
On mercredi 9 janvier 2008, gaupe wrote:
> Why does the combobox.sort=true
> sort different then a sort in a string array?
> would be very confusing (if i didnt make a mistake :-/)
>
> if i have
>
> dim Astring as new string[]
>
> ["-this-","Ape"]
>
> then
>
> combobox1.list=Astring
> combobox.sort=TRUE
>
> first item in list will be "Ape"
>
> gives a different result from
>
> astring.sort
> combobox1.list=astring
> combobox.sort=FALSE
>
> First item in list will be "-this-"
Because QT sorts differently than the interpreter.
Regards,
--
Benoit Minisini
More information about the User
mailing list