const and inheritance

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
diego
Posts: 3
Joined: Thu Jun 08, 2006 10:18 am

const and inheritance

Post by diego »

I've a problem with tsilang and two inherited forms, i decalre in the constant section of the first one a const string and when i try to use a showmessage in the descendant the string is empty.
On the base form (therefore in the descendant) there is a TSiLanLinked, linked to a central LangDispatcher but I don't see how this should change something.
Suggestions?
Haron
Posts: 39
Joined: Thu Mar 11, 2004 6:29 am

Re: const and inheritance

Post by Haron »

> i decalre in the constant section of the first one a const string

Sorry, this sentence not clear at all. What exactly did you..?

> string is empty.

What string ? Const ? :)

> there is a TSiLanLinked, linked to a central

Maybe my knowledge outdated, but what is TsiLangLinked ? %(
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Hello,

Sorry for delay with reply.
Did you set the IsInheritedOwner property of TsiLang to True on the inherited form?
Best regards,
Igor Siticov.
Post Reply