Perhaps Susan knows the answer, since she haslooked at the StyledText so much. When the user indicated that a document is to be closed, how can I tel if the content of either of the views has changed? Then I would prompt the user with the usual close dialog box. Thanks, John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities