clickability in a DataGrid
Sieg Lindstrom
sl at trackandfieldnews.com
Wed Jan 23 13:29:29 EST 2013
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>
More information about the use-livecode
mailing list