Allow horizontal & vertical scrollbars but remove 'white space' (AC2007)

AOB

Registered User.
Local time
Today, 21:06
Joined
Sep 26, 2012
Messages
637
Hi guys,

I have a form which I would like to enable scrollbars both horizontally and vertically (the main reason being, the application is designed for users with large / wide screens but may at some point be required on smaller screens)

Currently I have the scrollbars switched off and the form maximises but everything goes to pot if I resize the window. I'd like to add the scrollbars so if a user wants to resize the window to, say, half the screen, they can still scroll across to the 'hidden' parts of the form.

The problem with this is, if the form is maximised - or at least large enough to show the entire form - the area of the screen where the horizontal scrollbar resides is white (whereas the background colour of the form is a pale green) Which is quite unsightly.

I know I can remove the problem by removing the horizontal scrollbar and the navigation bar (which is already gone!) but then I can't scroll?

Is it possible to have a horizontal scrollbar but not have that white space at the bottom when the scrollbar is not required?

(Doesn't appear to be a problem with the vertical scrollbar?...)

Thanks!

AOB
 
Change the Scroll Bars to either Vertical Only or None and the empty space should disappear.
 
Yeah but then I won't have a horizontal scrollbar?
 
If your form is sized correctly, you should not need one.Is this simply a matter of screen size? If so, their is code for that!
 
The form is designed with a specific screen size (large) in mind

But possibility for use on workstations which have screens smaller than the form size

Therefore need the ability, on those screens, to be able to scroll both horizontally and vertically?
 
Not really, you just need code to re-size the form so it fits.
 
Interesting - would you have any pointers to such code?
 
Excellent, some good material here. Thanks burrina!
 

Users who are viewing this thread

Back
Top Bottom