On Oct 25, 2009, at 11:00 AM, Paul McNett wrote:

> I just added undo/redo to reportdesigner, after harboring the same  
> reservations as
> you for years. The solution was to hook into when a property change  
> was taking place
> (hooks were already in place - setProp() for each object). Then I  
> merely store a LIFO
> with the oldval. When the user undo's, I pop that off the LIFO and  
> set the property
> to that oldval.

        And how does that handle add/remove objects?


-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to