Turning off ExtendsForm warns elements deleted

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

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…).

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.

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…)