Anchor And Resizing Controls

  • I have just posted some code that should make it easier to add resizing to your userforms. Anchor controls

    It expands on my previous resize post that used a simple control to allow resizing of a userform without resorting to APIs.

    The Anchor part allows you to specify how the controls on the userform change when it is resized. You can have controls remain positioned in the bottom corner, which is useful for controls such as the cancel and ok buttons. Or expand and contract with the useform which is useful for textbox controls.

    The way controls act is done by setting their Anchor property.

    You can also set properties to stop controls from getting to small when the userform changes size.

    Any feedback is welcomed.


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!