dataGrid - set the dgData[TRUE] to tText

Trevor DeVore lists at mangomultimedia.com
Wed Jul 8 08:47:26 EDT 2009


On Jul 8, 2009, at 4:23 AM, Shao Sean wrote:

> 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

In the code above "moo" and "cow" would have to be the name of the  
columns. The columns would have to already exist if you are passing in  
the names. Do they?

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com



More information about the use-livecode mailing list