Pat Bensky: > Please don't cry, Bernd :) > I think you have slightly misunderstood ST SET PLAIN TEXT. In this context > PLAIN TEXT means *unformatted*, rather than *unstyled*. In other words, ST > SET PLAIN TEXT inserts text into whatever styling is already in place. So > to remove the bold, you would need to change the style. > > I would liken it to using Style Sheets in a regular word processing > program. You've applied a style to some text, and then you've added more > text without changing the style. > > I am still trying to get my head around the way 4D Write Pro handles text > styling. Take a look at Bookmarks > http://doc.4d.com/4Dv16/4D/16/Accessing-document-contents-by-programming.300-3051923.en.html > and Attributes > http://doc.4d.com/4Dv16/4D/16/WP-SET-ATTRIBUTES.301-3048101.en.html
Thanks for the help and the links Pat. I´m very slowly beginning to understand the concepts used by WritePro. In 4D Write I could just set all the attributes to my liking and then insert my text. In WritePro I have to insert the text, select the inserted text and then apply attributes. Seems all very backwards to me. Takes about double the lines of code and is four times as hard to understand (at least for me). Well, I guess I will have to get used to it. Greetings from Germany, Bernd Fröhlich ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

