Thanks, Peter. This script works. Thank you and apologies for my earlier confusion.
Sieg Lindstrom On Jan 22, 2013, at 7:21 PM, Peter Haworth wrote: > Hi Craig, > I tried your mouseUp Script and all I got was a reference to graphic > "dgalternatingrows" no matter which row or column I click in. > > The EditFieldText trap would work but he'd have to double click the cell > and I don't think that's what he had in mind. > > However, I think this seems to work as a scrip of the datagrid group > (apologies if this ends up with asterisks all over it): > > *on* mouseUp pMouseBtnNum > > *if* pMouseBtnNum is 1 *then* > > *put* the dgColumn of the target,the dghilitedline of me > > *end* *if* > > *end* mouseUp > lcSQL Software <http://www.lcsql.com> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode