cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Automatic scroll to bottom, scroll to top

Former Member
0 Kudos

Helo all!

Displaying a large screen, having more than one page of UI-Elements causes the screen to scroll down automatically at initialization. Is it possible to disable that behaviour or scroll up manually?

thanks

Stefan

Accepted Solutions (1)

Accepted Solutions (1)

former_member186016
Active Contributor
0 Kudos

Set the focus on UI element in first page (part of view which is on top).

Regards,

Ashwani Kr Sharma

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Geert..

To set the cursor to the firsst UI element..

Do the following in your doModify();

In your WdDoModifyView method of the view controller,

Eg:

if(firsttime)

{

// get the UI element you want to focus In this case i am taking a input field

IWDInputfield inputfield = (IWDInputfield)view.getElement("<UI element ID>");

inputfield.requestFocus();

}

Hope this will helpful for u..

URs GS