Home » U++ Library support » LineEdit, EditFields, DocEdit » How to do fast Append & scroll in LineEdit with MT?
Re: How to do fast Append & scroll in LineEdit with MT? [message #45705 is a reply to message #45646] |
Sat, 26 December 2015 12:55 |
|
deep
Messages: 263 Registered: July 2011 Location: Bangalore
|
Experienced Member |
|
|
Generally in this scenario I use Append to string then Paste it to LineEdit. ( Paste append the text to LineEdit );
LineEdit le1;
String s;
loop { s << "Your values and text\n" ;}
le1.Paste(s.ToWString()),
Even if we append the LineEdit with 100000 line in 100 sec.
This scroll speed also is fast to read and comprehend the values as it scrolls.
When value generation is very fast then I use 2 strings. And pasting to Line edit from another thread.
String s0,s1;
Start with putting values to s0
When s0 is full start filling s1. Paste s0 to LineEdit.
When s1 is full swith filling the s0. Paste s1 to LineEdit.
It is possible to switch strings on time basis or on Number of lines in a string basis. Probably both together.
depends on requirement.
This works for me. I work with real fast data capture.
Warm Regards
Deepak
[Updated on: Sat, 26 December 2015 13:35] Report message to a moderator
|
|
|
|
|
How to do fast Append & scroll in LineEdit with MT?
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: mirek on Fri, 18 December 2015 19:24
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: Didier on Mon, 21 December 2015 19:15
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: Didier on Wed, 23 December 2015 19:47
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: mirek on Thu, 24 December 2015 00:03
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: Novo on Thu, 24 December 2015 03:11
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: mirek on Thu, 24 December 2015 05:49
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: Novo on Thu, 24 December 2015 06:16
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: Novo on Sat, 09 January 2016 04:50
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: mirek on Tue, 12 January 2016 12:59
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: Novo on Thu, 14 January 2016 04:56
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: mirek on Thu, 14 January 2016 07:52
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: mirek on Mon, 18 January 2016 10:00
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
|
|
|
Re: How to do fast Append & scroll in LineEdit with MT?
By: deep on Sat, 26 December 2015 12:55
|
Goto Forum:
Current Time: Sat Apr 27 15:59:36 CEST 2024
Total time taken to generate the page: 0.02955 seconds
|