Couldn't resist...
on mouseUp
local t1,t2
set the itemdel to "�"
repeat for each item x in fld "tTextField"
if the number of lines of x = 4 then
put x -- OK we know we got one. . .it shows in the message box
if matchChunk (fld "tTextField", "(." & x & "*)",t1, t2) then put t1 && t2
#which gives you the first and last char of x
exit repeat
end if
end repeat
end mouseUp
Regards, Andu
_______________________
[EMAIL PROTECTED]
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.