Le 02/12/2014 11:01, Julio Sanchez a écrit : > Benoît: > > Well... > > what if only create an object of the same class of "original" object (no > controls) and copy the values of the properties? > ( Return a shallow copy of object. ) > > Comment: > In other languages, there _copy() method which can be declared as must back > > https://docs.python.org/2/library/copy.html > http://www.elclubdelprogramador.com/2014/08/13/pyhton-crea-una-copia-rapida-de-un-objeto-en-python/ > > > (maybe that add a new _copy () method is beyond what you ask for gb.util) > > Regards > Julio >
Anyway gb.util is not for GUI, so a routine that would copy a control cannot be placed in it. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user