Hi!
Is it possible that the first line of the textarea and the phrases "Sprecher:" & "Mitwirkung:" have a different color and use a bold (default) front?
This involves FormatTextAreaText I guess, but I could not figure out how... :/ Also the MaxGui source code was a bit too complex for me to adopt.
Example Code:
Text.txt
Is it possible that the first line of the textarea and the phrases "Sprecher:" & "Mitwirkung:" have a different color and use a bold (default) front?
This involves FormatTextAreaText I guess, but I could not figure out how... :/ Also the MaxGui source code was a bit too complex for me to adopt.
Example Code:
SuperStrict Local MyWindow:TGadget=CreateWindow("TextArea Help Needed", 40,40,400,400) Global MyText:TGadget=CreateTextArea(0,0,380,360,MyWindow, TEXTAREA_WORDWRAP|TEXTAREA_READONLY) Local In:Tstream=ReadStream("text.txt") While Not Eof(In) Local text:String=ReadLine(In) AddTextAreaText(MyText,Text+"~n") Wend CloseStream(In) Repeat WaitEvent() Select EventID() Case EVENT_WINDOWCLOSE End End Select Forever End
Text.txt
5 ...und der Fluch des Rubins Alfred Hitchcock und die drei Detektive (Firmenzeichen ???) haben es hier mit einem seltsamen Vermächtnis zu tun: Onkel Horatio hat seinem Neffen etwas Wertvolles hinterlassen - aber was? Und vor allem wo? Die jungen Kriminalisten Justus, Peter und Bob sehen sich hier mit viel zu vielen Gipsköpfen, geheimnisvollen Herren und dem Wort August in mindestens fünf Bedeutungen konfrontiert. Werden Justus und seine Freunde mit diesem Fall nicht überfordert? Originaltitel: The Mystery Of The Fiery Eye Sprecher: Joe Buchholz, Peter August August, genannt Gus Chresczinski, Stephan Bob Andrews Fröhlich, Andreas Mr. Rhandur Kramer, Gottfried Patrick Kenneth Kubach, Wolfgang Tante Mathilda Jonas Lieneweg, Karin Alfred Hitchcock Pasetti, Peter Mutter Pichler, Renate Justus Jonas Rohrbeck, Oliver Lisa Stolze, Madeleine Peter Shaw Wawrczeck, Jens Mr. Dwiggins Wolff, Joachim Mitwirkung: Cover Design Schoedsack, Atelier Produktion Körting, Heikedine Effekte Europa, Tonstudio Regie Körting, Heikedine Autor Arthur, Robert Musik (Titel) Conrad, Jan-Friedrich Cover Illustration Rasch, Aiga