Hello,
Drop a AdvTrackbar to a Form, choose a Style from the gallerie which uses pictures for i.e the thumb and drop a AdvFormStyler to the form too. As soon as you chance the Style the trackbar will be reset to an office style.
If you add following code everything is okay.
procedure TForm5.AdvFormStyler1ApplyStyle(Sender: TObject; AComponent: TComponent; var Allow: Boolean);
begin
If AComponent.Name='tb1' then allow:=False;
end;
But if the AdvTrackbar is dropped on a AdvToolbar this code will not work - each time the Trackbar will be drawn in the office style. How can I solve this problem?
Regards Sascha