TTrackBar flickering lazarus / 31-LCL ---------------------------------------------------------------------- fcu · 2022-01-19 16:41 Hi i've found that TtrackBar is the only component that still flickering while resizing the form , and all the components are rendered ok , so are there any workaround for this visual glitch i am using lazarus 2.2 o, windows7 32bits ---------------------------------------------------------------------- dsiders · 2022-01-19 17:46 Quote from: fcu on January 19, 2022, 05:41:56 pmHi i've found that TtrackBar is the only component that still flickering while resizing the form , and all the components are rendered ok , so are there any workaround for this visual glitch i am using lazarus 2.2 o, windows7 32bits The flickering is not present using Lazarus 2.2.0 or 2.3.0 (git main) on Windows 8.1. ---------------------------------------------------------------------- wp · 2022-01-19 18:15 I can not confirm on Win 11 (Laz/main), but I do see the issue on Win 7. It can be fixed for me by adding the csParentBackground to the trackbar's ControlStyle: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.FormCreate(Sender: TObject);begin  Trackbar1.ControlStyle := Trackbar1.ControlStyle + [csParentbackground];end; ---------------------------------------------------------------------- fcu · 2022-01-19 18:59 Quote from: wp on January 19, 2022, 07:15:39 pmI can not confirm on Win 11 (Laz/main), but I do see the issue on Win 7. It can be fixed for me by adding the csParentBackground to the trackbar's ControlStyle: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.FormCreate(Sender: TObject);begin  Trackbar1.ControlStyle := Trackbar1.ControlStyle + [csParentbackground];end; thanks wp , it works i hope this would added to lazarus source code ---------------------------------------------------------------------- trev · 2022-01-19 22:49 Quote from: fcu on January 19, 2022, 07:59:11 pmi hope this would added to lazarus source code In that case you will need to lodge an issue in the bugtracker.