Page 1 of 1
Drag and Drop - Again.
Posted: Fri Aug 07, 2009 10:40 am
by ConvertFromOldNGs
by Carl Ranson >> Sun, 14 May 2000 23:13:41 GMT
I've just been working on a jade form. I needed to copy part of the functionality of one form into another. I had to add all the attributes, constants and methods to the new form - very tedious it was.
It would be so much nicer if Jade would let you drag and drop these things.
Hey you guys from the Plant, any reason it couldn't be done?
CR
Re: Drag and Drop - Again.
Posted: Fri Aug 07, 2009 10:40 am
by ConvertFromOldNGs
by
Torrie Moore >> Mon, 15 May 2000 0:14:39 GMT
I have had to do the same thing. I extract the class as a file and then change the name of the class and superclass in the extract and reload. Seems to work.
BTW could what you want to do, be acheived by subclassing the forms?
Torrie
torrie@concept-eng.co.nz
Re: Drag and Drop - Again.
Posted: Fri Aug 07, 2009 10:40 am
by ConvertFromOldNGs
by Simon Barrett >> Thu, 18 May 2000 2:14:00 GMT
If you only want to copy/rename your form under the same parent form then you can use the painter "Save Form As" option rather than unloading and editing with your favorite text editor (mine's vim - but perhaps I shouldn't admit that here). Also, Jade is obviously capable of loading forms up under different parent forms - so it would be nice if you could select any parent you want in the Save Form As dialog and Jade would "give it a go". Also, there should be a rename form option in the Class browser when you highlight the form class. Carrying on with this theme - there should also be a rename option when you select attributes of the form - to be consistent with having this feature with other Jade transient classes.
Cheers, Simon.