[Gambas-user] gb3: sorting an array-like structure

Fabien Bodard gambas.fr at ...626...
Thu May 5 13:50:27 CEST 2011


2011/5/5 Kevin Fishburne <kevinfishburne at ...1887...>:
> On 05/05/2011 06:31 AM, Fabien Bodard wrote:
>> We use that to sort icons in the iconview component
>>
>> take a look in the source
>>
>> trunk/comp/gb.form
>>
>> IconView.class
>>


it depend what you want to  sort !!!

say us please

and more simply
>>
>>
>> This use the compare event and the comp function. to compare each
>> object text to sort the object in the array.
>>
>> http://gambasdoc.org/help/lang/comp?v3
>> http://gambasdoc.org/help/lang/special/compare?v3
>
> So an array could be sorted if that code was adapted for the purpose, or
> can I use the function in that library to do it already?
>
> Off the subject, but showing what GAMBAS can do:
>
> http://www.youtube.com/watch?v=npW2CMtJ6ow
>
> That's my project in gb3 under Ubuntu 10.10. :)
>
> --
> Kevin Fishburne
> Eight Virtues
> www: http://sales.eightvirtues.com
> e-mail: sales at ...1887...
> phone: (770) 853-6271
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard




More information about the User mailing list