1 Jan 09:05
Re: Undo for Form Designer
Zaher Dirkey <parmaja <at> gmail.com>
2010-01-01 08:05:56 GMT
2010-01-01 08:05:56 GMT
On Thu, Dec 31, 2009 at 5:37 PM, JoshyFun <joshyfun <at> gmail.com> wrote: > Hello Lazarus-List, > > Thursday, December 31, 2009, 4:08:11 PM, you wrote: > > MG> Notes: > MG> Changing a property (e.g. Left) changes some other properties too and > MG> there is no hook. So for undo you must store the whole form plus the > MG> descendant forms plus the referenced forms plus the source changes. This > MG> costs much time and memory. For example with some images you easily get > MG> a megabyte. > MG> So it would be unwise to create an undo step on every change. > > It would be great to at least have 1 step undo, specially when you try > to delete a visual object but the selected one is the container ;) Or > maybe a container delete with objects inside should raise some kind of > warning ? > Only undo for Delete, Move, Size is enough with more than 1 steps. -- -- Zaher Dirkey -- _______________________________________________ Lazarus mailing list Lazarus <at> lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus(Continue reading)
RSS Feed