on mouseUp
put the number of chars in fld "TESTEXT" into CHARZ
put (CHARZ - 2) into HARZ
set the unicodeText of fld "TESTEXT" to char 1 to HARZ of fld "TESTEXT"
end mouseUp
works very well indeed (chopping off 2 because this is unicodeText) deleting
text from the end of the string.
The problem is how to get this to work just before an insertion point
which is NOT at the end of the string.
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode