Hard-Coded Strings, Captions, and Hints
Posted: Tue Dec 13, 2011 7:42 pm
I have a DataModule with Dispatcher and TsiLang and all other forms have TsiLangLinked with common container and dispatcher set appropriately. On all these forms, I ran the "Const Section - With form..." to identify all strings and I end up with many of these forms having the same string defined (ie. String str = "some string").
1. Is there a way that the tsi component can automatically detect the string "some string" and put it in the TsiLang on the DataModule or somehow grab it from a single location? Right now I'm grabbing the translation from the dictionary manager.
2. What's the best way to implement a common container for the captions and hints?
Thank you.
1. Is there a way that the tsi component can automatically detect the string "some string" and put it in the TsiLang on the DataModule or somehow grab it from a single location? Right now I'm grabbing the translation from the dictionary manager.
2. What's the best way to implement a common container for the captions and hints?
Thank you.