08-08-2012 06:58 AM - edited 08-08-2012 07:01 AM
I wanted to add a feature to my RS232 swiss armay knife application.
Using one string indicator and show the written and read strings in different colors.
The attached program work, however since every update of string results in ONE color the solution found need an rewrite of all colors after each update which results in flicker 😞
and if you log some more data in the indicator it's a bad solution .
One improvement would be to only store blocks of same color ....
Someone with a better idea or solution?
Solved! Go to Solution.
08-08-2012 07:33 AM
Defer FP refresh seems to work.
Regards Florian
08-08-2012 07:35 AM
How about using a List Box instead of string control.. and having the sent and read text in different rows..& obviously different colours..
08-08-2012 09:57 AM
@Florian.Ludwig wrote:
Defer FP refresh seems to work.
Regards Florian
My first thought as well.
I did mine to emulate a protocol analyzer where send and recieve are on different lines and also wanted to flag protocol errors so I used a picture control.
Ben
08-08-2012 11:29 AM
Use these to write strings to a picture control.
08-09-2012 01:57 AM - edited 08-09-2012 01:59 AM
Ben & pcardinale
Thank you 🙂
Nice solution, very flexible
I now have to decide which one to choose as solution ...
OK, the vis saved me a lot of work and thinking 😉
08-09-2012 07:13 AM
@Henrik Volkers wrote:
Ben & pcardinale
Thank you 🙂
Nice solution, very flexible
I now have to decide which one to choose as solution ...
OK, the vis saved me a lot of work and thinking 😉
Agreed.
My task here is inspiration.
Pcardinale earned the solution with perspiration.
Ben