[Gambas-user] Columnview

Jack jscops at ...11...
Sun Mar 21 19:04:57 CET 2004


Dark Trorrr write

>I'm trying to extract data (a string) from the line
>that is currently selected in a ColumnView control,
>but i don't get what i need.  I think this is the
>PUBLIC SUB ColumnView1_Select()  
>message.info(ColumnView1[ColumnView1.Current][1])
>END

>But it has a type incompatibility.  The property Text
>can convert a ColumnViewItem in a String, but i've put
>it in several places in the line inside the
>ColumnView_Select() and my program continues crashing
>or says nothing in the Message.  Can you help me? 
>Thx. 

I think that this work.
message = columnView1.current[1]

Jack





More information about the User mailing list