SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dynamically created forms

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
AnSo



Joined: 04 Jun 2003
Posts: 2

PostPosted: Wed Jun 04, 2003 10:29 am    Post subject: Dynamically created forms Reply with quote

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 Sad( Sad
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Wed Jun 04, 2003 8:12 pm    Post subject: Reply with quote

You can use .SIB files to store your translations and set the FileName property of dispatcher component. Then all TsiLang components will load the translations from this file when link to dispatcher. Also when using SIB file its content is loaded into memory and is held there for faster access in this case.
Back to top
View user's profile Send private message
AnSo



Joined: 04 Jun 2003
Posts: 2

PostPosted: Sat Jun 07, 2003 8:51 am    Post subject: Fantastic support, thank you! Reply with quote

I just have to mention really fantastic support of the TsiLang components.

I got detailed and helpfull answer by e-mail less in half an hour!
And they answered all my additional question with the light-speed and with very good quality, not just an answering machine as we get sometimes from big companies supports.

Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group