I've noticed a severe performance when using as TAdvsmoothTrackBar in a particular configuration:-
We use the trackbar as a way of scrolling through a video clip, with the trackbar min = 0, and the max = the number of frames of video. Tick marks and numbers don't apply in this case, so ShowValues and ShowTickMarks are both false.
However, with long video clips, painting the trackbar becomes incredibly slow, with the DrawNumbers method eating up huge amounts of CPU time, even though nothing needs to be drawn.
Adding these lines to the beginning of that method could make sense?
if (not ShowValues) and (not ShowTickMarks) then