Scrolling Field Question
Posted: Tue Nov 04, 2008 7:16 pm
Is there anyway to limit the length of each line of a scrolling field. I want the data to wrap after 50 characters (even if ENTER is not selected).
How would I do this? I tried the code below and it is not working (this was a total guess of how I thought it would work...so don't laugh if I am way off the mark).
on keyDown theKey
if the length of me = 50 then
put field "Notes" & CRLF into field "Notes"
pass keyDown
else
pass keyDown
end if
end keyDown
How would I do this? I tried the code below and it is not working (this was a total guess of how I thought it would work...so don't laugh if I am way off the mark).
on keyDown theKey
if the length of me = 50 then
put field "Notes" & CRLF into field "Notes"
pass keyDown
else
pass keyDown
end if
end keyDown