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 Quote
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? Quote
Administrators Farshad Mohajeri Posted August 6, 2015 Administrators Posted August 6, 2015 Please open a bug report with a sample project. Thank you Quote
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 :-) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.