TsiLangLinked not being created when form is loaded
Posted: Fri Sep 08, 2006 2:55 am
I'm using TSILang 6.02 and CBuilder 6. I have one form in my application that has a problem. This form is not automatically created, but is created by the application on demand with a new and displayed with ShowModal.
This form contains a TsiLangLinked component whose Dispatcher and CommonContainer properties are set by the object inspector to point to a TsiLang instance in the main form.
When the form is created and ShowModal called, I set values for form fields in the FormShow method. At this point, the variable that should point to a TsiLangLinked instance is null. So my calls to
siLangLinked->GetTextOrDefault crash.
I don't understand why I'm having this problem, and any ideas for troubleshooting would be greatly appreciated. What could possible cause this?
This form contains a TsiLangLinked component whose Dispatcher and CommonContainer properties are set by the object inspector to point to a TsiLang instance in the main form.
When the form is created and ShowModal called, I set values for form fields in the FormShow method. At this point, the variable that should point to a TsiLangLinked instance is null. So my calls to
siLangLinked->GetTextOrDefault crash.
I don't understand why I'm having this problem, and any ideas for troubleshooting would be greatly appreciated. What could possible cause this?