[Gambas-user] Populating multiple columns in a column view

richard terry rterry at ...1822...
Wed May 7 23:52:27 CEST 2008


code snippet (out of a loop):


                   columnview1.Add(x, 0)             
                  columnview1[x][0] = Trim($Result!brand)
                  columnview1[x][1] = Trim($Result!form)
                  Inc x
                  $Result.MoveNext 

Regards

Richard

On Thu, 8 May 2008 03:34:11 am M0E Lnx wrote:
> I have a column view with 3 columns
>
> | NAME | TYPE | SIZE |
>
> I know how to use the columnview1.add() function to add an item to it.
> But that only fills out the first column. ( 0 )
> How do I go about filling in the rest of the columns?
> using the .add() function again will add a new item below the last
> one, but will not fill in information to columns ( 1 and 2 )
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java
>one _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user






More information about the User mailing list