[Gambas-user] GbQtColumnView without columns?

Bodard Fabien gambasfr at ...11...
Thu Aug 26 23:25:24 CEST 2004


Le jeudi 26 Août 2004 22:16, matteocam at ...590... a écrit :
> When I create a ColumnView How do I add Columns at it?
>
> I have already looked at the documentation but I haven't found anything
> about.
>
>                                                Matteo


hi mateo,


Do that

ColumnView1.Count = 3  '(set your columncount)

and to set the text in the headers ,
ColumnView1.Column[0].text = "header0"
ColumnView1.Column[1].text = "header1"
ColumnView1.Column[2].text = "header2"

To set the value :

ColumnView.add("key1", "Hello")
ColumnView.["key1"][1] = "pretty"
 ColumnView.["key1"][2] = "world"


Regards,
Fabien Bodard
> -----------------------------------------------------------
> La nuova Email di superEva e' piu' veloce, piu' sicura, ed
> ha molte nuove funzioni utili, provala!
> http://webmail.supereva.it/
> -----------------------------------------------------------
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> 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