procedure TTpresen.FormCreate(Sender: TObject);
Var:
vt:Array[1..5] of String[20];
begin
vt[1]:='1';
if (StrToInt(vt[1])=1) then
sh1.Brush.Color:=clLime
else
begin
if (StrToInt(vt[1])=2) then
sh1.Brush.Color:=clRed
else
if (StrToInt(vt[1])=3) then
sh1.Brush.Color:=clBlack;
end;
end.