Yes, I agree since the Mode for String[].Sort is integer and 
GridView.Columns.Ascending is boolean.

But, how about this?
ValueSorted.Sort(IIf(TableView1.Columns.Ascending, gb.Ascent, gb.Descent))


On 04/05/2016 10:17 AM, Gianluigi wrote:
> Hello Lee,
> Milio propose this change to avoid the arrows appear upside than sorting.
> Instead of:
> ValueSorted.Sort(GridView1.Columns.Ascending)
> this code:
> If GridView1.Columns.Ascending Then
>    ValueSorted.Sort(gb.Ascent)
> Else
>    ValueSorted.Sort(gb.Descent)
> Endif
> Regards
> Gianluigi
>

-- 
Lee
__________

"Artificial Intelligence is no match for natural stupidity."

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to