[Gambas-user] Missing things in ListBox and ListView

T Lee Davidson t.lee.davidson at gmail.com
Wed May 16 14:32:12 CEST 2018


The List of a ListBox is a string array. As such, it does have .Join and .Max methods.
See: http://gambaswiki.org/wiki/comp/gb.qt4/listbox/list

ListView is not implemented with a string array, however.


-- 
Lee


On 05/16/2018 02:42 AM, Rolf-Werner Eilert wrote:
> Good morning!
> 
> Just wanted to write some values from ListBox and ListView into strings with TABs.
> 
> First idea was to do it with a FOR...NEXT loop, but I missed .Max so the only way to count would be up to ".Count - 1" (the
> classic).
> 
> Then I thought .Join might be more elegant, but there is no .Join for ListBox and ListView.
> 
> So I found that .Max and .Join aren't there, is there a reason for that?
> 
> My Gambas is 3.9.2, and currently I do not have a chance to update.
> 
> Regards
> Rolf
> 


More information about the User mailing list