Welcome! Wikis are websites that everyone can build together. It's easy!

Location: OpenInsight Community Source Code

Discussion: Setting minimum resize on a form

Keyword tags: minimum openinsight resize
Watch

Anonymous  (Get credit for your thread)


Colin.Rule

Colin.Rule
Setting minimum resize on a form
May 5 2008, 7:55 PM EDT
Do you have screens which require resize but control overlap causes display problems when the screen is made small?
This generally applies to multi-page or tab folder screens.
This is a simple and no-code solution which you might be interested in.

Add a control, eg a button called RESIZE_LIMIT to the form.
Place it at the bottom right of the form, and set autosize Height and Width ON.
Position the top left corner of the control to the position you want to have as the minimum size of the form.
Make the control invisible.

When you run the form it wont allow the control to resize below zero and therefore stops at that point.

Colin
Do you find this valuable?    

Sign in to be the first to reply.

Related Content

(what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)
Recent Site Activity
Top Contributors