I'm just writing a module to handle the resizing of forms, and scale them accurately for different screen resolutions, and for maximising small forms.

The idea is to prevent 'whitespace' when a user clicks the maximise button, or more to the point, when screen res'es differ from design machine -> user machine.

Can yous have a squiz at the attached module?

Just whack it in a project, and from your Form_Load event :
Call InitSize(Me)

Then in the Form_Resize event:
Call ScaleControls(Me)



Obviously, there's a time and a place for the use of this thing, but I want input on what needs fixing - I kinda hacked this out with no real direction, so feedback is good.

Cheers.