summaryrefslogtreecommitdiff
path: root/src/gui/gui_trackbar.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui_trackbar.pas')
-rw-r--r--src/gui/gui_trackbar.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui_trackbar.pas b/src/gui/gui_trackbar.pas
index b067f99f..fdb7697d 100644
--- a/src/gui/gui_trackbar.pas
+++ b/src/gui/gui_trackbar.pas
@@ -378,6 +378,7 @@ begin
FMax := AValue;
if FPosition > FMax then
SetTBPosition(FMax);
+ Repaint;
end;
procedure TfpgTrackBar.SetMin(const AValue: integer);
@@ -390,6 +391,7 @@ begin
FMin := AValue;
if FPosition < FMin then
SetTBPosition(FMin);
+ Repaint;
end;
procedure TfpgTrackBar.SetTBPosition(const AValue: integer);
@@ -403,6 +405,7 @@ begin
if HasHandle then
DrawSlider(False);
+ Repaint;
end;
procedure TfpgTrackBar.SetShowPosition(const AValue: boolean);