I mounted a listbox with a list of files. In a
For loop that treat each file in the listbox I
execute a TProcess that runs an external program
that do some processing over this file. After the
TProcess.Execute I call TProcess.WaitOnExit method.
Before TProcess.Execute I switch the selected
property of the listbox item to true. In this
way, the items that are still processed will
appear selected in the listbox. The listbox
appears with all items selected only after the
For loop ends. I create a 2nd listbox and try to
add the item I will process just before call the
Execute method. The same thing occurs: The second
listbox appears filled only after the For loop
ends(or the method where the For loop is, ends
itself). Finally I try to alter the caption
property of a TLabel just after call Execute Method. Again it didn't run ok...
May someone explain me how to solve this trouble?
Greetings from São Paulo - Brazil
Ricardo
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives