All posts by kevindarbin

To lock widgets in relative positions on forms

We require the ability to be able to lock widgets into relative positions on forms, so that if the form is maximized or resized, the widget remains in relatively the same position. For example, we always have a cancel button in the bottom left hand side of our forms. If you resize or maximize the form, the button no longer remains in this position. We work around this at the moment with the use of splitbars. Unfortunately, this is not a particularly neat way of doing it. We often get issues where we need to remove registry settings of forms as the positions of the fields are not correct. Also, the ability to move the position of fields at runtime is not permissable when split bars are painted on a form