U
Udo Nesshoever
Hi yall!
Has anyone expirienced the same?
I align some controls on a form (set the anchors, right align some so
everything resizes/moves nicely when the form is resized.
I store the forms size and position into the applications settings.
When I restart and reload these settings, the application first set's
the forms new size, then create all the controls (with the sizes
stored during design time) and sets all the anchors etc. That means,
the form had the "wrong" size during the creation of the controls.
Am I missing something? Do I have to store the position and size of
each and every control on this form?
I thought (coming from Delphi), the form is created, the controls are
set and THEN the formerlt stored size and position of rthe form is set
and therefore all controls are - of course - nice resized (by the
anchors), too.
I'd reeeeeeeeeeeeally like to avoid storing/reloading ALL controls'
sizes and positions. Any hints? Any help?
Anything appreciated!
Cheers,
Udo
Has anyone expirienced the same?
I align some controls on a form (set the anchors, right align some so
everything resizes/moves nicely when the form is resized.
I store the forms size and position into the applications settings.
When I restart and reload these settings, the application first set's
the forms new size, then create all the controls (with the sizes
stored during design time) and sets all the anchors etc. That means,
the form had the "wrong" size during the creation of the controls.
Am I missing something? Do I have to store the position and size of
each and every control on this form?
I thought (coming from Delphi), the form is created, the controls are
set and THEN the formerlt stored size and position of rthe form is set
and therefore all controls are - of course - nice resized (by the
anchors), too.
I'd reeeeeeeeeeeeally like to avoid storing/reloading ALL controls'
sizes and positions. Any hints? Any help?
Anything appreciated!
Cheers,
Udo