REDO в RICHEDIT

Советы » Тексты » REDO в RICHEDIT

Как сделать Redo в RichEdit ?
Memo1.Perform(EM_UNDO, 0, 0);
If you want to check whether undo is available, so you can
enable or disable a menu item choice, you can check the
"Undo status" like this:

If Memo1.Perform(EM_CANUNDO, 0, 0) > 0 then begin
{Undo is possible}
end;

To preform a "Redo" simply "Undo" a second time.

Другое по теме:

Категории

Статьи

Советы

Copyright © 2022 - All Rights Reserved - www.delphirus.com