procedure TForm1.ScrollBar1Change(Sender: TObject); begin Label1.Caption:=IntToStr(TrackBar1.Position); end;