powergov Posted June 19, 2019 Share Posted June 19, 2019 in a unimscrollbox I put five panel in it ,panel1,panel2,panel3,panel4,panel5 if i click some menuitems,i want to scroll the unimscrollbox, let one of panel1-panel5 to top such as,i click menuitem1,it scroll panel1 to first position to display, if i click menuitem4,it scroll panel4 up to display Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 19, 2019 Share Posted June 19, 2019 Try this: UnimPanel2.JSInterface.JSCall('element.dom.scrollIntoView', [True]); Quote Link to comment Share on other sites More sharing options...
powergov Posted June 19, 2019 Author Share Posted June 19, 2019 13 minutes ago, Sherzod said: Try this: UnimPanel2.JSInterface.JSCall('element.dom.scrollIntoView', [True]); perfect!!!! thank you !thank you !thank you !thank you !thank you ! Quote Link to comment Share on other sites More sharing options...
powergov Posted June 19, 2019 Author Share Posted June 19, 2019 1 hour ago, Sherzod said: Try this: UnimPanel2.JSInterface.JSCall('element.dom.scrollIntoView', [True]); Hi,Sherzod after scroll ,the screen will shake. Sometimes “form” pops up the screen 10-20px Quote Link to comment Share on other sites More sharing options...
powergov Posted June 19, 2019 Author Share Posted June 19, 2019 2 hours ago, Sherzod said: Try this: UnimPanel2.JSInterface.JSCall('element.dom.scrollIntoView', [True]); Hi,sherzod if i set form height = 1200,after " UnimPanel2.JSInterface.JSCall('element.dom.scrollIntoView', [True]); " the screen will shake. Sometimes “form” pops up the screen 10-20px if i set form height = 480,after scroll,the screen don't shake,but form bottom have 120-140px height blank! Quote Link to comment Share on other sites More sharing options...
powergov Posted June 19, 2019 Author Share Posted June 19, 2019 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 19, 2019 Share Posted June 19, 2019 50 minutes ago, powergov said: after scroll ,the screen will shake. Sometimes “form” pops up the screen 10-20px It seems, known behavior But, in any case, can you make a simple testcase for this? Quote Link to comment Share on other sites More sharing options...
powergov Posted June 19, 2019 Author Share Posted June 19, 2019 test.zip Quote Link to comment Share on other sites More sharing options...
powergov Posted June 19, 2019 Author Share Posted June 19, 2019 31 minutes ago, Sherzod said: It seems, known behavior But, in any case, can you make a simple testcase for this? Sorry,i set autoheight := false Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 19, 2019 Share Posted June 19, 2019 So, does it work?.. Quote Link to comment Share on other sites More sharing options...
powergov Posted June 19, 2019 Author Share Posted June 19, 2019 1 hour ago, Sherzod said: So, does it work?.. it work OK! but ,if run on safari,the full form will jump ,run on andriod it is OK Quote Link to comment Share on other sites More sharing options...
powergov Posted June 19, 2019 Author Share Posted June 19, 2019 Hi,Sherzod we sincerely hope you will strengthen the development of mobile version. Now people prefer to use mobile phones. For delphier, unigui is the best, so don't miss the opportunity! we sincerely hope that you can develop several exquisite Theme, which can be directly put into use without any processing. 1 Quote Link to comment Share on other sites More sharing options...
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.