Page 1 of 1

TsiLang, TsiLangDispatcher, ResourceStrings with Multiforms

Posted: Fri Apr 22, 2005 9:11 am
by DelphiHacker
Hay,

I have ha Programm with some Forms. In the Datamodule is a TsiLang-Control. HandleResourceStrings ist True and is Connected withe a TsiLangDispatcher in this Datamodul.
On the MainForm is a TsiLangLinked connected with TsiLangDispatche on the DataModul.
On a MDI-CHildForm is a TsiLangLinked connected with the TsiLangDispatcher on the Datamodul.
The ResourceStrings are added to the TsiLang on the DataModule.

When I now change the Language on the Dispatcher all Captions are translated but not the ResourceStrings in the MDI-ChildForm.

The Program is a old Projekt. When I make a new Projekt with the thame Functions works all Perfekt.

What I have make False?

Regarts DelphiHacker

P.S.: Sorry for my English :roll:

Posted: Fri Apr 22, 2005 10:48 am
by isiticov
How do you use ResourceStrings in MDI Child form? Do you have declared them with resourcestring directive or do you use LoadStr() function?

Posted: Fri Apr 22, 2005 11:40 am
by DelphiHacker
Hay,

no from both.
I have a DBGrid on the form and I delete there a Record.
I use a Delphi6 German and the Querstion where coms is: Datensatz löschen? But I have translate this to english and have change the Language to english. So it must comes Delete Record?

MfG DelphiHacker

Posted: Fri Apr 22, 2005 1:45 pm
by isiticov
I can guess: in old project options it is set use run-time packages. Is it true?

Posted: Mon Apr 25, 2005 8:19 am
by DelphiHacker
Hay,

No.

But we have delete all TSiLang-Objects and then we have add TsiLang fresh. No works all Ok.

Tankyou for help.

Regards DelphiHacker