This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
firamax  
#1 Posted : Sunday, October 21, 2007 10:03:51 PM(UTC)
firamax

Rank: Member

Groups: Guest
Joined: 4/15/2007(UTC)
Posts: 25

Dear sirs,

suppose you have an image and you rotate it 90 degrees add you add noise(total 2 operations). If i set .UndoRedoEnabled = False, there is no way to do Undo or Redo. When i set it back to true, .UndoRedoEnabled = True, and press Undo, it makes the Undo and it 'remembers' what was the last 2 operations(rotate+add noise) and it brings it back, as it was from the beginning.

How can i make it 'forget' the 2 rotations when i set .UndoRedoEnabled = False? I don't want it to 'remember'

firamax

Alex Kon  
#2 Posted : Monday, October 22, 2007 7:21:11 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Guest
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello firamax,

Unfortunately, I do not understand the problem despite your detailed description... Maybe it is bad day for me ;)

Please, try to explain what particular action do you want to perform? I suppose that you need something like ClearRedoHistory or ClearUndoHistory methods, but I am not sure.

Edited by user Monday, February 25, 2008 6:52:09 PM(UTC)  | Reason: Not specified

firamax  
#3 Posted : Monday, October 22, 2007 7:39:28 PM(UTC)
firamax

Rank: Member

Groups: Guest
Joined: 4/15/2007(UTC)
Posts: 25

Hi Alex,

you understood it well...

Thanks

firamax

Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.