Dynamically created forms
Posted: Wed Jun 04, 2003 10:29 am
Is there a good solution for the situation when I need to create forms dynamically, and there are can be much more than one copy of each form type.
For example, I have TfmMain and TfmChild, and at the programm execution TfmChild created again and again.
I understand that I can use TsiLangRT and the translation resources will be loaded at each TfmChild creation, but that seems not very good - the file with translation resources loaded again and again..
I expected that if I have TLangDispatcher and do for it LoadAll, it much really load all the resources and provide them for newly created froms from some internal cache of TLangDispatcher, but that's doesn't work - TLangDispacher load resources only for alredy created forms
( 
For example, I have TfmMain and TfmChild, and at the programm execution TfmChild created again and again.
I understand that I can use TsiLangRT and the translation resources will be loaded at each TfmChild creation, but that seems not very good - the file with translation resources loaded again and again..
I expected that if I have TLangDispatcher and do for it LoadAll, it much really load all the resources and provide them for newly created froms from some internal cache of TLangDispatcher, but that's doesn't work - TLangDispacher load resources only for alredy created forms

