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 

Populating TsiLangRT without opening the Form at designtime!

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



Joined: 02 Feb 2004
Posts: 10

PostPosted: Fri Feb 06, 2004 11:11 am    Post subject: Populating TsiLangRT without opening the Form at designtime! Reply with quote

Hello
I have a project with 2000 modules. Some forms are inherited from other, but this is not the relevant point.
if I open the form at designtime the TsiLang component populates its Captions etc, and when I save the form all data is persisted in DFM.

What I am looking for, is an automated way of doing it at runtime.
I tested it, and when I save the TsiLang at runtime using SaveAllToBinaryFile WITHOUT ever OPENING THE FORM AT DESIGN-TIME
All translations are empty!!!! but the 2 languages are set correctly from the LanguageDispatcher.

1) My point is, how to get the TsiLang populated at runtime?
2) How to know it TsiLang was already populated at designtime?

Regards
Liviu
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Fri Feb 06, 2004 5:22 pm    Post subject: Reply with quote

There is BuildList method. Which populates the translations lists. You can just call it at run-time and this will be enough.
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