troubleshooting Question

Content of TListBox not "refreshed"

Avatar of LeTay
LeTay asked on
Delphi
4 Comments1 Solution42 ViewsLast Modified:
I have a Delphi (studio 10.1 Berlin) application where a TListBox component is on a TForm
When I click a button on the form, the process is to analyse data coming from some source, line by line. The result of the processing of each line is reflected with a line (a kind of "log" in fact) "written" in the TListBox (TListBox.Items.Add(...).
During the process, the form is visible on the screen but the TListBox remains empty until the process is completed.
I tried a TForm.Refresh each time a line is written in the TListBox, but the behavior remains the same.
How can I have the TlistBox showing all lines after each Items.Add call ?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros