troubleshooting Question

Content of TListBox not "refreshed"

Avatar of LeTay
LeTay asked on
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 ?
Aditya Milan
Founder Director, Milansoft eServices

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
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