Getting current line number of a table field.

Mark Wieder ahsoftware at sonic.net
Wed Feb 14 11:37:13 EST 2018


On 02/14/2018 08:04 AM, Mike Bonner via use-livecode wrote:
> Try this...
> 
> on rawkeyup pkey
>     send "getline" to me in 10 millisec
>     pass rawkeyup
> end rawkeyup
> 
> command getline
>     put the short name of the focusedobject
> end getline
> 
> This gives you the name of the editing field that appears for each cell in
> the form of:
> 
> revCell-2,2
> 
> Parse that and voila, you have your info.

Brilliant. Would never have guessed that one.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the Use-livecode mailing list