I've found this handler in my "code repository", mabe it helps.
valentin
---------------------------------------------------------------
-- returns hardwrapped text of given field or text member
---------------------------------------------------------------
on hardWrap m
s=""
y=0
n=1
c=m.char.count
repeat with i = 1 to c
if charPosToLoc(m,i)[2]<>y then
if y>0 then
put m.char[n..(i-1)] after s
if m.char[i-1]<>RETURN then put RETURN after s
end if
y=charPosToLoc(m,i)[2]
n=i
end if
end repeat
put m.char[n..c] after s
return s
end
roymeo wrote:
> Is there a way to detect via Lingo whether a line of text has wrapped?
>
> roymeo
>
> ---------------------------------
> roymeo(AT)brokenoffcarantenna.com
> ---------------------------------
> Flash MX Professional 2004 - Now Without Manuals!
>
> [To remove yourself from this list, or to change to digest mode, go
> to http://www.penworks.com/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email
> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
> programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping
with programming Lingo. Thanks!]