Background Worker Component

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Background Worker Component

Postby simad » May 19th, 2009, 6:24 pm

Hi , i have a ListView and i want to use the Background Worker to load this ListView Items from a Text File , This Text file is very huge so what i want to do :

Use the Background Worker to do the Task of populating this Listview from the Text File , so that the Application will not freeze Is there any Idea ?



Simad
simad
Member
Member
 
Posts: 4
Joined: May 19th, 2009, 6:12 pm

Re: Background Worker Component

Postby Kambiz » May 19th, 2009, 7:25 pm

Choosing the Background Worker component is the right decision.

You will find a complex sample at viewtopic.php?f=7&t=1435
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: Background Worker Component

Postby simad » May 19th, 2009, 8:34 pm

many thanks Kambiz , could you please give the Steps that i should follow :

Where should put the ?+ :

ListView.Items * LoadfromFile('c:\test.txt')

* is a Function i use to populate the ListView from this Text File .


i forget and how show a Progressbar stepping till the listview is fully populated
simad
Member
Member
 
Posts: 4
Joined: May 19th, 2009, 6:12 pm

Re: Background Worker Component

Postby Kambiz » May 20th, 2009, 1:40 pm

I believe that's your job to figure out the solution.

You may find the following post helpful too:
viewtopic.php?f=5&t=1549
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest

cron