Getting current line number of a table field.
richmondmathewson at gmail.com
Wed Feb 14 08:33:18 EST 2018
Hey-Ho . . .
I tried this script in the tableField:
put the selectedLine of me
and it returned the line where I clicked.
On 14/2/2018 3:06 pm, Tim Selander via use-livecode wrote:
> Editing a table field (not datagrid) and need to track the number of
> the line that is being edited. If I click into a new line,
> "selectionchanged" will let me figure out what line I'm editing. But
> if I hit return or tab to go to a new line, how can I track what line
> the cursor is in? Rawkeyups and downs are being sent, but I have been
> unsuccessful in trapping them in the table field's script.
> Any ideas?
> Much appreciated.
> Tim Selander
> Tokyo, Japan
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode