D
Dmitry Shaporenkov
Hi all,
I have a form that includes multiline edit box, tree view
and several buttons. I would like edit box and tree view
to resize when the form is resized. Of course, I can
manually override OnResize () method of the form to set
sizes of child controls there, but doing so will result
in necessity to write code that plays around sizes and
positions of controls. Moreover, this code needs to be
updated each time I reorder controls on the form.
Is there a way to generate this code automatically? Do
any other approaches to resizing controls exist?
Thanks in advance.
I have a form that includes multiline edit box, tree view
and several buttons. I would like edit box and tree view
to resize when the form is resized. Of course, I can
manually override OnResize () method of the form to set
sizes of child controls there, but doing so will result
in necessity to write code that plays around sizes and
positions of controls. Moreover, this code needs to be
updated each time I reorder controls on the form.
Is there a way to generate this code automatically? Do
any other approaches to resizing controls exist?
Thanks in advance.