G
Guest
Hi
I create a first Dialog form with in particular two buttons, "Ok" an "Cancel", and set the Anchor properties of theses buttons to Bottom, Right (so, if I change the size of the dialog, the Ok and Cancel button are still positionned at bottom-right)
In order to share all the control defined in the first dialog and to add some new controls, I create a new Dialog Form that inherits from the first
When I change the size of the sub-class Form, the two button positions are calculated from the siz
of the first dialog, and not the second one ???
How can I solve this ?
I create a first Dialog form with in particular two buttons, "Ok" an "Cancel", and set the Anchor properties of theses buttons to Bottom, Right (so, if I change the size of the dialog, the Ok and Cancel button are still positionned at bottom-right)
In order to share all the control defined in the first dialog and to add some new controls, I create a new Dialog Form that inherits from the first
When I change the size of the sub-class Form, the two button positions are calculated from the siz
of the first dialog, and not the second one ???
How can I solve this ?