home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global theCaption
- set charNum to the number of chars in theCaption
- repeat with n = 1 to charNum
- if charToNum(char n of theCaption) = 10 then
- delete char n of theCaption
- end if
- end repeat
- set the text of field "captionBox" to theCaption
- setCaption("captionBox")
- set the selStart to 0
- set the selEnd to 0
- end
-