Copy methods option with Duplicate Form

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

Copy methods option with Duplicate Form

Postby antonio » Sun Dec 10, 2006 7:26 pm

I'd find it very useful to have an option to copy all form methods when duplicating a form, so that the On.... event properties can all be carried over too.
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia

Postby kazar » Mon Dec 11, 2006 6:54 am

Hi Antonio -- I've also found myself wishing this, but then have ended up finding better ways to approach the UI in terms of using tab panels for "reusable" elements and making use of dynamic runtime properties to make changes to the same form rather than duplicating a form.

Nevertheless I still do contemplate whether form elements and the properties associated with them should have a "separate life", in the Servoy Object Model, from the forms they are placed on, and have not yet arrived at a conclusive opinion on this topic. So I'm posting back to ask "why in Servoy would you need to duplicate a form?" (i.e., why would you need two separate forms that are so similar?) And to ask "why not use tabpanels to contain all reusable form objects?"

Meanwhile, whether this feature request (which I believe I've seen from other folks, too) is ever fulfilled or not ... have you considered creating a tiny mini-form for a field that has the event property, and just pulling that one-field miniform into a hidden tabpanel? You could then duplicate the form that has this tabpanel on it.

Still, to me there is this larger issue of having two forms that are so similar you would want to duplicate Form A to create Form B. Seems you are letting yourself in for extra maintenance if you decide to rearrange things on one form, and then have to do the same on the other form to keep them consistent with each other. Hence my curiosity for the business case or other reason for needing two similar forms in Servoy. (I know many tool-related reasons why I created duplicate forms when I used FMP, but thus far have found no reason for the same kind of device in Servoy.)

TIA for helping me continue my thought process on this topic ...

kazar
User avatar
kazar
 
Posts: 367
Joined: Sat Sep 13, 2003 9:59 pm
Location: New York City

Postby antonio » Mon Dec 11, 2006 9:58 pm

Hi Kazar, good points you raise there.

Where ever possible I try to use a single form, controlling tabless tabs and the visble property of form elements with an OnShow method to get it just right.

Sometimes, before embarking on substantial changes to forms, I like to make a duplicate to refer back to. Servoy's rollback feature makes this a rarity, but still handy if changing several forms at once.

It's not a high priority.
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia

duplicate form method

Postby gdurniak » Mon Jan 22, 2007 9:20 pm

coming from a web background, Servoy must be a dream, but coming from FileMaker, Servoy can be like developing in molasses

much harder to do simple things "quick & dirty"

making a one-time, unexpected, "I need a list" layout (e.g. duplicate), is definitely harder

greg

PS
of course, Servoy can shine, when things get complicated
File Shoppe
gdurniak
 
Posts: 232
Joined: Thu Jul 08, 2004 7:25 pm
Location: Bayside, NY, USA

Postby IT2Be » Mon Jan 22, 2007 11:12 pm

of course, Servoy can shine, when things get complicated


- Servoy makes you think about the obvious yourself
- Servoy makes you wonder if it really is that simple when you don't know how to get started
- Servoy makes life a breeze when you think it can't be done
- Servoy can even surprise you when you are sure it is impossible

:)
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby IT2Be » Mon Jan 22, 2007 11:14 pm

And, to make things even better our plug-ins and beans will make the topping on the cake ( couldn't resist adding it ;) )...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: duplicate form method

Postby Riccardino » Tue Jan 23, 2007 12:37 am

gdurniak wrote:coming from a web background, Servoy must be a dream, but coming from FileMaker, Servoy can be like developing in molasses

much harder to do simple things "quick & dirty"

making a one-time, unexpected, "I need a list" layout (e.g. duplicate), is definitely harder


Greg: if you're proficient in FM and a beginner in Servoy, is not a fair comparison, don't you think? :-)
ciao, ric
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests