[Gambas-user] Making a copy of a project item

Bruce adamnt42 at gmail.com
Fri Apr 10 11:23:43 CEST 2020


On 10/4/20 6:30 pm, Gianluigi wrote:
> 
> 
> Il giorno ven 10 apr 2020 alle ore 10:48 Bruce <adamnt42 at gmail.com 
> <mailto:adamnt42 at gmail.com>> ha scritto:
> 
>     Maybe I'm going senile but I feel certain that there used to be a
>     way to
>     copy a class or a form within the ide as a new one?
> 
> 
> You mean click on Sources with the right mouse button and click on 
> Import...?
> 
> Regards
> Gianluigi

Hmmm, OK that works but it's very unwieldy.

Specifically, let's take a form. I really just want to "Save As.." it 
for one of two reasons. Either a) it all just works but I want to 
experiment a bit with layout and/or control types etc. Surely just 
saving it as FMain1 (or a proper name) would be easier that wading 
through wherever I imported something last time to whever I happen to be 
working right now to find it, or b) I have a nice little template form 
for this type of business object with all the stuff generally needed for 
all of the subtypes of the business objects and want to create 
specialised forms for each business object subtype ( think 
"account_editor","delinquent_account_editor", "special_account_editor" etc.)

But just to repeat myself, didn't there used to be a way to do this quickly?
b


More information about the User mailing list