clickability in a DataGrid

Peter Haworth pete at lcsql.com
Wed Jan 23 14:03:42 EST 2013


No problem Sieg, glad we found a solution for you.
Pete
lcSQL Software <http://www.lcsql.com>


On Wed, Jan 23, 2013 at 10:29 AM, Sieg Lindstrom
<sl at trackandfieldnews.com>wrote:

> 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 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