Turning off ExtendsForm warns elements deleted

Questions and answers for designing and implementing forms in Servoy

Turning off ExtendsForm warns elements deleted

Postby gdurniak » Mon Oct 13, 2014 2:05 pm

Servoy 7.4.1 simple question:

I have two forms using the same table, each form has two methods, and I wanted to share methods

So, on the second form, I set ExtendsForm to the first

But now I have "Duplicate Form element" errors, since both forms use the same element names

So, I tried to turn OFF ExtendsForm, but it warns that "this will change the parent form, and delete all override elements"

What in the world does this mean ? Did I just make a mess ?

greg
File Shoppe
gdurniak
 
Posts: 232
Joined: Thu Jul 08, 2004 7:25 pm
Location: Bayside, NY, USA

Re: Turning off ExtendsForm warns elements deleted

Postby Joas » Mon Oct 13, 2014 2:26 pm

I'm not entirely sure where that error is coming from, but you should be able to set the extensForm-property to default without problems.

Note that if something goes wrong you can go back to a previously saved version using the local history (Rightclick the form and choose: Replace with... -> Local History...).
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: Turning off ExtendsForm warns elements deleted

Postby Harjo » Mon Oct 13, 2014 2:38 pm

If you use ExtendForm, and on both forms, you use already the same form elements (before using the ExtenForm) than yes, this will have conflicts!
You are not only extending the form methods, but also both form elements will be 'kind of' merged.
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Turning off ExtendsForm warns elements deleted

Postby gdurniak » Mon Oct 13, 2014 2:49 pm

Thanks. That worked

Feature Request: it seems that turning ON Extendsform should also warn of any Duplicate / Override Elements !

greg

> if something goes wrong you can go back to a previously saved version using the local history (Rightclick the form and choose: Replace with... -> Local History...)
File Shoppe
gdurniak
 
Posts: 232
Joined: Thu Jul 08, 2004 7:25 pm
Location: Bayside, NY, USA


Return to Forms

Who is online

Users browsing this forum: No registered users and 5 guests

cron