Pink-El Posted August 6, 2015 Posted August 6, 2015 UnimScrollBox does not work correctly. It does not fix curret position if create child controls dynamic. Can you help me?for i:=0 to 100 do begin with TUnimButton(InsertControl(TUnimButton.Create(Self))) do begin height:=25; width:=40; Left:=width+i*(width+5); Top:=65; Caption:=IntToStr(i); OnClick:=UnimButton1Click; Parent:=UnimScrollBox1; end; Dmytro
Pink-El Posted August 6, 2015 Author Posted August 6, 2015 Well, I tried different ways but I did not found how to set scrollwidth… My idea was to create Unipanel set the width and use Insertcontrol method of the uniscrollbox, but no effect. I can scroll but uniscrollbox does not update scrollwidth and back… Any ideas?
Administrators Farshad Mohajeri Posted August 6, 2015 Administrators Posted August 6, 2015 Please open a bug report with a sample project. Thank you
Pink-El Posted August 6, 2015 Author Posted August 6, 2015 Ok. I am not sure about bug. I prefer to think that I did wrong :-)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now