Hello
Hello
I want to control the thumb of a trackbar.
I create on run a trackbar.
vTrackbar := TTrackBar.Create(main_form);
vTrackbar.Name := 'A_SP_SongPos';
vTrackbar.Parent := main_form;
vTrackbar.Width := 1000;
vTrackbar.Height := 30;
vTrackbar.X := 460;
vTrackbar.Y := 100;
vTrackbar.Min := 0;
vTrackbar.Max := 1000;
vTrackbar.visible:= true;
if i do this
vTrackbar.thumb.size.width:= 10;
than i get an errror that can't do this bcs the thumb= nil;
so
How to assign a tcustomthumb in the vtrackbar.thumb.
of how to create the current thumb on vTrackbar;
Thank you
I want to control the thumb of a trackbar.
I create on run a trackbar.
vTrackbar := TTrackBar.Create(main_form);
vTrackbar.Name := 'A_SP_SongPos';
vTrackbar.Parent := main_form;
vTrackbar.Width := 1000;
vTrackbar.Height := 30;
vTrackbar.X := 460;
vTrackbar.Y := 100;
vTrackbar.Min := 0;
vTrackbar.Max := 1000;
vTrackbar.visible:= true;
if i do this
vTrackbar.thumb.size.width:= 10;
than i get an errror that can't do this bcs the thumb= nil;
so
How to assign a tcustomthumb in the vtrackbar.thumb.
of how to create the current thumb on vTrackbar;
Thank you
Comments
Post a Comment