SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with strings in inherited forms.

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
danysz



Joined: 07 Dec 2009
Posts: 1

PostPosted: Mon Dec 07, 2009 12:25 pm    Post subject: Problem with strings in inherited forms. Reply with quote

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.
Back to top
View user's profile Send private message
Jean-Paul Brassard



Joined: 08 May 2008
Posts: 65

PostPosted: Fri Feb 26, 2010 2:10 am    Post subject: Re: Problem with strings in inherited forms. Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group