Subject: How to limit the vertical Scrollbar Scroll Limit of a window /userobject in different resolution/scale of the system.
Scenario.
We have a long Screen(user Object on a window ) . With the screen Resolution 1920/1080 and scale 100%, the Window is getting displayed fully.
but when scale changes or resolution changes, the screen goes out of Border. So we have introduced the Vertical Scroll bar.
But the vertical scrollbar scrolls, well beyond the last control of the window showing lots of empty space after the last Control of the screen.
How can we restrict the vertical scrolling to the bottom of the last control depending upon the Display settings (Scale and resolution) of the System.
we had tried the unitsperline property and Screenheight. The Challenge we face is as per the Scale or resolution change, unitsperline is not getting change
how will we dynamically change unitsperline?
how will we relate Screenheight and unitsperline?
Thanks
Sobha