Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 24618, BorderPropertiesForm, store border and caption sizes in your dfm

by Charles McAllister Email: Anonymous


If you work in a team environment, where each developer designs forms under their own environment for border width and caption height, and you wish forms to appear consistent at runtime regardless of the OS environment, then you might find the included source code useful.
This is especially useful if you often set right or bottom anchors for your controls.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 7.0  to 7.0 77 downloads
Copyright: Open Source or other


Size: 228,517 bytes
Updated on Thu, 10 May 2007 08:01:41 GMT
Originally uploaded on Thu, 10 May 2007 08:01:41 GMT
SHA1 Hash: 3A148506DE3386BE2E3C847051029B33937F9BA1
MD5 Hash: B30B0E22A70F0CE44755F6E9F94FC4E2

    Explore the files in this upload

Description
If you work in a team environment, where each developer designs forms under their own environment for border width and caption height, and you wish forms to appear consistent at runtime regardless of the OS environment, then you might find the included source code useful.
This is especially useful if you often set right or bottom anchors for your controls.
The source includes a form, TBorderPropertiesForm, which can be added to your projects, and inherited from by each of your forms. Doing this will let you see additional properties for your forms, under the object inspector, called BorderProperties.
Inside BorderProperties you can choose Reset to recalculate the border width and caption height for your environment.
At design time, choose BeginSize before resizing your form so that controls anchored to the right or bottom remain in place. Choose EndSize when finished resizing to reset anchors back to their original values.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03