Re: Undo/Redo don't work

WinForms

ComponentOne's WinForms controls

Undo/Redo don't work

  • rated by 0 users
  • This post has 1 Reply |
  • 2 Followers
  • Hi,

    I downloaded the trial version of Winform SpellCheck.  On the C1SpellChecker component demo page, neither the undo/redo or the keyboard shortcut (ctrl-z/ctrl-y) work.  Is undo/redo supported with the C1SpellChecker component?

     Paul

  • The short answer is no, undo/redo are not supported when the C1SpellChecker is used with the TextBox or RichTextBox controls.

    The reason is that the C1SpellChecker applies corrections programmatically, and most editors do not include such actions in their undo/redo stacks. Although I haven't tried, I suspect the same is true for all spell-checkers. To support undo/redo in the regular TextBox controls, they would have to apply corrections using the SendKeys commands to simulate user keystrokes.

Page 1 of 1 (2 items)