Hi! I'm trying to improve my message window with highlighting. No success... I have tried to implement it with TextEdit (proto1) and with Editor (proto2) controls. See attachments.
What I'm trying to do, is window that show messages and highlight every other of them, and also highlight important messages with different color. (Reason for this, is that I have missed some messages from my program, and I believe that highlighting help me to notice changes more easily.) And it should concatenate same messages like this. Here is wanted output of same message, "Test message." sent to message window three times: Test message. x 3 In other words, I don't want this: Test message. Test message. Test message. Messages can have multiple lines. All this is already implemented without highlighting. With proto1, I have problems with concatenate and with changing backcolor of font. With proto2, concatenate works, but I have problems with highlighting. How to customise highlight? And is there invisible marking etc. which can be used to determine what highlighting should be apply to lines. Now there is "If InStr(sLine, "1") Then" for test purpose. Using numbers etc. to determine wanted highlighting type is not what I want. Any help appreciated! Jussi
Proto1.tar.gz
Description: GNU Zip compressed data
Proto2.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user