Einzelnen Beitrag anzeigen

question

Registriert seit: 17. Apr 2013
97 Beiträge
 
#1

mutiple procedures in threads

  Alt 31. Dez 2013, 08:51
Dear all,

As there is one topics has been already discussed about multi-threading, neverthless i would like to ask one question.

In Delphi , i have created several procedures to save data into DB, and i have call all the procedure in button-click event, for example
Code:
procedure TForm1.Button1Click(Sender: TObject);
begin
saveTopersonal(); // i would like to use multi-thread for all the procedures with a status-bar
savechild();
saveroot();
saveToAdmin();
saveTopublic();
saveSecretData
end;
i would like to use multi-threading with a status bar, when one procedure will execute then this status-bar will increase and show a message-which procedure is saving currently. could anybody please help me, how can i use multi-thread ,in my situation and with a status-bar?
  Mit Zitat antworten Zitat