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.
Problem with strings in inherited forms.
-
- Posts: 65
- Joined: Thu May 08, 2008 7:46 pm
Re: Problem with strings in inherited forms.
Hi,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.
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
Quebec, Canada