dataGrid - set the dgData[TRUE] to tText

klaus at major.on-rev.com klaus at major.on-rev.com
Wed Jul 8 04:36:39 EDT 2009


Hi Sean,

> should the following not work? line 1 "moo" and "cow" would be the  
> labels of the columns and line 2 "pig" and "oink" would be the data  
> for each of the columns.. all i get is an empty data grid..
>
>
> on mouseUp
>  set the dgText[TRUE] of group "DataGrid" to "moo" & TAB & "cow" &  
> LF & \
>         "pig" & TAB & "oink"
> end mouseUp

works for me if I use CR instead of LF and if there are already at  
least two
(unlabled) columns  in the DG :-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com







More information about the use-livecode mailing list