Page 1 of 1

const and inheritance

Posted: Wed Jul 12, 2006 1:44 pm
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?

Re: const and inheritance

Posted: Thu Jul 13, 2006 8:35 pm
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 ? %(

Posted: Tue Jul 18, 2006 6:38 am
by isiticov
Hello,

Sorry for delay with reply.
Did you set the IsInheritedOwner property of TsiLang to True on the inherited form?