[Gambas-user] Missing things in ListBox and ListView

Gianluigi bagonergi at gmail.com
Wed May 16 15:07:06 CEST 2018


2018-05-16 13:44 GMT+02:00 Benoît Minisini <g4mba5 at gmail.com>:

> Le 16/05/2018 à 08:42, Rolf-Werner Eilert a écrit :
>
>> 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
>>
>>
> The ListBox has a List property that returns its contents as an array of
> strings.
>
> As for the ListView, you have to browse all elements by hand with the
> Move*() methods.
>
> Regards,
>
> --
> Benoît Minisini
>
>
Hi Benoit,
I received from Google this email as spam.

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180516/74e53e56/attachment.html>


More information about the User mailing list