On 02/19/2018 05:01 PM, Nicolas Cueto via use-livecode wrote:

As you can see, the reason I'm interrupting the backspace key is to find
out the number of lines in a field after a char is deleted.

I would do that differently:

local sHowManyLines

on backspaceKey
  send "howManyLinesNow" to me in 0 milliseconds
  pass backspaceKey
end backspaceKey

on howManyLinesNow
  put the number of lines of me into sHowManyLines
end howManyLinesNow

 Mark Wieder

use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to