Large pages

Answered
0
0

Is it possible to create a WiseJ page which height is (much) larger than the browser window ?
In this case a vertical scroll bar should be shown to scroll through all the content.

  • You must to post comments
Best Answer
0
0

It scrolls to the control with the focus. At first load it’s the first focusable control in the tabbing order.

  • You must to post comments
0
0

That’s it. Changing the taborders of the controls from top to bottom works.
Thank you very much

  • You must to post comments
0
0

There is one small issue left: A large page seems to be automatically scrolled to the bottom of it at first load.
Can this be prevented or scrolled back to the top of the page by code ?

  • You must to post comments
0
0

Scrollbars and the other properties work at design time too. You can place controls anywhere outside of the page and get the scrollbars.

  • You must to post comments
0
0

Thank you very much for your answer Luca. Setting AutoScroll to True does what I need.
The only open question is how pages with a large height can be designed in the VisualStudio designer at best ?
I can find no possibility to get scrollbars displayed to scroll down or set the height for a page…

  • You must to post comments
0
0

Wisej.Web.Page fills the browser. The content can be much larger. Set AutoScroll to true. You can also use AutoScrollMargin to create a blank bottom, right area when scrolling, it basically increases the “clearance”. And AutoScrollMinSize, which sets the minimum size of the content that triggers the scrollbars. There is also the ScrollBars property that lets you suppress either scrollbar.

The same properties are available for Panel, Forms, TabPage, UserControl, basically most containers can scroll or crop their internal content.

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.