Carriage Return in datagrid data
Bob Sneidar
bobs at twft.com
Tue Jan 3 12:38:29 EST 2012
Does this happen even when you use dgDataOfIndex or dgDataOfLine? If so, then this would be a great situation for copying the datagrid behavior to a button in the stack and then coding the copy of the behavior scripts to check for the existence of a CR and replace it with a vertical tab automatically, when setting the data, and back again when getting the data. In fact this would make a good addition to the datagrid library for some future release.
Bob
On Jan 2, 2012, at 5:20 PM, Pete wrote:
> Wondering if anyone has a good technique for dealing with carriage returns
> within data loaded into a datagrid column? The dg takes the cr as the end
> of the row which messes up the datagrid pretty badly. Seems like there's
> no alternative but to replace the cr with some displayable character but
> maybe there's another way?
>
>
> --
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list