TaskParameters (TTaskConfigureController)

De Wiki1000

<source lang='delphi'>property TaskParameters:String;</source>

Cette propriété définit les paramètres de la tâche.


Exemple :

<source lang="delphi">

function doConfigureMyTask:string; var inst:TTaskConfigureController; aReason:String; begin

 inst := TTaskConfigureController.Create;
 inst.FormName := 'myprocessus.dfm';
 inst.TaskParameters := myProcessParameters;
 // This open the interface for configuration
 if inst.Configure(aReason) then
   begin
     // Result = True means the user has validate the configuration
     // TaskParameters has been populate
     myProcessParameters:= inst.TaskParameters;
   end;

end; </source>

Voir aussi

{{#if:TTaskConfigureController_(class)|

{{#if:TTaskConfigureController_(class)|— TTaskConfigureController_(class) |}} — Développement DSM

|

{{#if:|— [[{{{1}}}]] |}} — Développement DSM

}}