Pink-El Posted August 6, 2015 Share 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 Link to comment Share on other sites More sharing options...
Pink-El Posted August 6, 2015 Author Share 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? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 6, 2015 Administrators Share Posted August 6, 2015 Please open a bug report with a sample project. Thank you Link to comment Share on other sites More sharing options...
Pink-El Posted August 6, 2015 Author Share Posted August 6, 2015 Ok. I am not sure about bug. I prefer to think that I did wrong :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now