[Q] Simple Graph - Undo & Redo?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

[Q] Simple Graph - Undo & Redo?

Postby TheEdge » March 14th, 2006, 8:53 pm

G'Day,

I want to provide my users with the ability to undo changes just made and/or redo an undone change - just like Word say. Has anyone got any implementation ideas? What event on the control could I hook to "know" that the "current change" to the drawing area has completed etc. How other than saving the contents of the entire drawing area each time a "change has completed" could I do this? (Dont like that idea as the page could contain a large number of images and the WMF or native file would be huge)

TIA
TheEdge
Active Member
Active Member
 
Posts: 15
Joined: March 14th, 2006, 8:47 pm

Re: [Q] Simple Graph - Undo & Redo?

Postby kokkoras » March 15th, 2006, 4:39 am

TheEdge wrote:G'Day,

I want to provide my users with the ability to undo changes just made and/or redo an undone change - just like Word say. Has anyone got any implementation ideas? What event on the control could I hook to "know" that the "current change" to the drawing area has completed etc. How other than saving the contents of the entire drawing area each time a "change has completed" could I do this? (Dont like that idea as the page could contain a large number of images and the WMF or native file would be huge)

TIA


this must be as tough as usefull....
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest

cron