Source strings problem
Posted: Tue Jan 21, 2003 5:37 pm
Doing my first project using D6 Pro and TsiLang 5.2.1
All was going well until I came to strings in the source code.
Some strings are being returned as empty strings by siLang1.GetTextOrDefault and I can't see where I am going wrong.
The ones returned OK are always OK, the others are always empty, so it is consistent.
The problem arises even in the same procedure of a unit, some are OK others blank. I have made sure that each unit has a unique series of IDS_ numbers.
Can there be a problem if one unit 'uses' another and .GetText.. looks in the wrong form?
Any pointers would be most welcome, please.
All was going well until I came to strings in the source code.
Some strings are being returned as empty strings by siLang1.GetTextOrDefault and I can't see where I am going wrong.
The ones returned OK are always OK, the others are always empty, so it is consistent.
The problem arises even in the same procedure of a unit, some are OK others blank. I have made sure that each unit has a unique series of IDS_ numbers.
Can there be a problem if one unit 'uses' another and .GetText.. looks in the wrong form?
Any pointers would be most welcome, please.