Page 1 of 1

The Fonts Property contains no Data :(

Posted: Mon Dec 22, 2003 9:28 am
by Clive0106
I am currently using ver 5.2.5.
When I try and change the TisLang components Font TStrings I get the message "The Fonts Property contains no Data" Same happens with CharSets :(
Could it have been that I upgraded from an earlier version that did not have Fonts and Charsets?
Is there an easy way to fix my compnent so that I can access these properties?

Thanks
..Clive

Posted: Mon Dec 22, 2003 2:41 pm
by isiticov
This looks quite strange, but anyway lets try to fix the problem.
Try the following:
1. Open Translation Editor by double-click on TsiLang component at design-time
2. Select in translations tree most top-level item (Translations)
3. Click Save To File and save all to SIL file.
4. Open saved SIL file with any text editor
5. Add to the end of file two lines:
[Fonts]
[Charsets]
6. In Translations Editor click Load From File and select file from 3-5
7. Close Translations Editor with saving changes.

Please let us know if this helps.

Posted: Mon Dec 22, 2003 5:35 pm
by Clive0106
It ended up being a little more tricky :(
I had to save the SIL file
Then delete the TSiLang Component
Then re-create the TSiLang Component
save a new SIL file
Merge the two SIL files together
re-load the merged SIL file into the new compnent
But it all worked out in the end :)
Thank you for your prompt reply
..Clive