DataGrid question...
Bob Sneidar
bobsneidar at iotecdigital.com
Sun Mar 29 23:40:30 EDT 2020
on mouseUp
put the mouseControl into tControl
put the long id of tControl into tID
put the short name of tControl into tName
end mouseUp
The short name will reveal the column number. The dgHilitedLine will give you the line.
> On Mar 29, 2020, at 8:37 PM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> The mouseControl!
>
> Bob S
>
> On Mar 29, 2020, at 8:35 PM, Pi Digital via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:
>
> Hi Jerry
>
> Thanks for the heads up about Bernd’s code. But I was interested in learning how to get the cell index of a table field when clicked as we are told it was solved a ‘long time’ ago. That makes it seem that it is general knowledge and I’m a dunce for not being aware of it (which is very possible). If you’ve got any pointers you know of that can steer me right I’d appreciate it.
>
> Sean Cole
> Pi Digital
>
> _______________________________________________
> 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