Jump to content

How scroll to specify control in unimscrollbox


powergov

Recommended Posts

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...