procedure TForm1.Button1Click(Sender: TObject); begin MoveDesPart(1); end;
procedure TForm1.Button2Click(Sender: TObject); begin MoveDesPart(2); end;
procedure TForm1.Button3Click(Sender: TObject); begin MoveDesPart(3); end;
procedure TForm1.MoveDesPart(i: Integer); var j: Integer; begin for j := 1 to 3 do begin if j = i then begin ps.ExplodedSlice.Value[j-1] := 10; end else begin ps.ExplodedSlice.Value[j-1] := 0; end; end; end;