View Single Post
  #1  
Old 19-05-2012, 03:47
Joe Joe is offline
Member
 
Join Date: Nov 2008
Location: Latvia
Posts: 92
Send a message via Skype™ to Joe
Question Is it possible to capture an Undo event?

Hi all,

I have checked the event lists for both document and application, searched the forums and the web, but seems like this question hasn't really popped up yet.

Is it possible to detect when the user has used an Undo? I have a while loop running that in some cases may base the result on the amount of actions the user has taken, thus an Undo throws the sequence.

If it were possible to intercept the Undo happening I could store the number of actions in a global, subtract on Undo and use that to determine what to do during the loop.

Any ideas?
Reply With Quote