I have an existing program developed using the IDE with the size of the main form set by values of ClientWidth & ClientHeight in the Object Inspector. I now find I need to set the size of the main form at start up derived from data read from a file during form create.
However, deriving the values of ClientWidth & ClientHeight in CreateForm seem to get overridden by the values set in the .dfm file.
Is there any way I can stop the .dfm values being used or override these values after they are loaded, but before the form is first displayed?
However, deriving the values of ClientWidth & ClientHeight in CreateForm seem to get overridden by the values set in the .dfm file.
Is there any way I can stop the .dfm values being used or override these values after they are loaded, but before the form is first displayed?