Problem with strings in inherited forms.

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
danysz
Posts: 1
Joined: Mon Dec 07, 2009 9:45 am

Problem with strings in inherited forms.

Post by danysz »

I create a form with some components and strings
I create a new form that is inherited from the first one.
I add some strings to the "child"
If I take care to use different ID's in the child (by default it creates same id like in the parent form) doesn't solve the problem.

I will be glad to post here also the example of the application to see the bug.
Jean-Paul Brassard
Posts: 65
Joined: Thu May 08, 2008 7:46 pm

Re: Problem with strings in inherited forms.

Post by Jean-Paul Brassard »

danysz wrote:I create a form with some components and strings
I create a new form that is inherited from the first one.
I add some strings to the "child"
If I take care to use different ID's in the child (by default it creates same id like in the parent form) doesn't solve the problem.

I will be glad to post here also the example of the application to see the bug.
Hi,

To properly solve the inheritance problem, we do not duplicate parent strings in all its child. Instead, we dynamically (run time) add those parent strings to the child`s collection at Form openning.
Jean-Paul Brassard
Quebec, Canada
Post Reply