{"id":256,"date":"2010-06-22T11:55:39","date_gmt":"2010-06-22T11:55:39","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=256"},"modified":"2022-02-17T06:24:05","modified_gmt":"2022-02-17T06:24:05","slug":"re-sizable-forms","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/forms\/re-sizable-forms","title":{"rendered":"Re-sizable Forms"},"content":{"rendered":"<h4>Making Form Re-Sizable<\/h4>\n<p>AutoScroll<\/p>\n<p style=\"padding-left: 30px;\">Set to true, to enable scroll bars when needed.<br \/>\nYou can then just add controls outside of the forms size and the scroll bars will appear to allow then to be seen.<\/p>\n<p>Minimum Size<\/p>\n<p style=\"padding-left: 30px;\">Set the minimum size for the form<\/p>\n<p>Padding<\/p>\n<p style=\"padding-left: 30px;\">Set to force a bit of space after the last object on the form<\/p>\n<h4>Getting controls on a form to resize automatically when user changes for size<\/h4>\n<p>The flow layout panel is very useful<\/p>\n<p>Dock<\/p>\n<p style=\"padding-left: 30px;\">The Dock property of a control allows you to specify which borders of the control are bound to the container (which may be the form itself if the cotnrol is not inside some form of container).<\/p>\n<p>Anchor<\/p>\n<p style=\"padding-left: 30px;\">The Anchor property of a control defines the edges of the control that are bound to its container.  E.g. set to bottom and right for a control to be glued to the bottom right corner of a form as its re-sized.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Making Form Re-Sizable AutoScroll Set to true, to enable scroll bars when needed. You can then just add controls outside of the forms size and the scroll bars will appear to allow then to be seen. Minimum Size Set the minimum size for the form Padding Set to force a bit of space after the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-forms"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=256"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":1116,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/256\/revisions\/1116"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}