« Return to Thread: list with 2 colums

RE: Re: list with 2 colums

by Morten Agerlin Petersen (MAP) :: Rate this Message:

Reply to Author | View in Thread

Hi

The only way I know is to use a series of fields:  gui.field().

Its been quite a whike since I've done Plua programming, so I don't remember the details....

Regards Morten

-----Original Message-----
From: plua@... [mailto:plua@...] On Behalf Of Helton Eduardo Ritter
Sent: 18. maj 2009 05:48
To: plua@...
Subject: [plua] Re: list with 2 colums

Good week dear mail-list!

Well, any solution to display data in 2 or more colums using Plua?

Here too are report of my problem (with picture) http://vonluawelt.blogspot.com/2009/05/sdmm-data-grid-list-problem.html

Many thanks.

Bye

2009/4/26 Helton Eduardo Ritter <heltonritter@...>

> I whant display 2 colums of data, like this:
>
> description1   value1
> description2   value2
> description3   value3
> description4   value4
>
> Now I have this code (show only 1 colum):
>
> registers ={}
> registers[0]="description1"
> registers[1]="description2"
> registers[2]="description3"
> registers[3]="description4"
>
> gui.control{type="list", lines=11, columns=30, list=registers,
> handler=generalControler}
>
> How I can display 2 ou more data coumls?
>
> I'm using plua 2.0
>
> Thanks
>
> --
>
> #---------------------------------------------------------------------
> ---------------------------------------------------#
> Helton Eduardo Ritter - www.sourcedreams.com.br Equipe técnica da PHP
> Magazine - www.phpmagazine.org.br Blog Pessoal:
> livehelton.blogspot.com No mundo da Lua! vonluawelt.blogspot.com
> Técnico em Informática - programador web - SETREM - www.setrem.com.br
> Bacharelando em sistemas de informação
>
> "Tudo o que fazemos cansa. Feliz daquele que não perde as
> forças"(Goethe)
>



--
#------------------------------------------------------------------------------------------------------------------------#
Helton Eduardo Ritter - www.sourcedreams.com.br Equipe técnica da PHP Magazine - www.phpmagazine.org.br Blog Pessoal: livehelton.blogspot.com No mundo da Lua! vonluawelt.blogspot.com Técnico em Informática - programador web - SETREM - www.setrem.com.br Bacharelando em sistemas de informação

"Tudo o que fazemos cansa. Feliz daquele que não perde as forças"(Goethe)


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links



 « Return to Thread: list with 2 colums