[Gambas-user] Saving Listbox contents
Stefano Palmeri
rospolosco at ...152...
Thu Jan 31 18:35:09 CET 2008
Alle 18:00, giovedì 31 gennaio 2008, MaxVK ha scritto:
> Hi there.
>
> Could anyone tell me if I'm doing this the right way: To save the contents
> of a listbox to a file I am enumerating the listbox 1 item at a time, and
> writing the text of each item to a file in turn.
>
> Is this the right way to go about things? It just seems a bit long winded,
> and I cant find anything in the documentation that suggests any other way.
>
> Thanks
>
> Max
Hi.
I've attached an example. It saves the file just once.
The file is t3mporaryfil3.txt in your home directory.
Stefano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: listaboxxa-0.0.1.tar.gz
Type: application/x-tgz
Size: 7687 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20080131/79d93222/attachment.bin>
More information about the User
mailing list