Форум — Ответы     (  К темам )
 ?  Andrej_LV: как сделать undo в EditBox ... (04-04-2003 10:12:47)
как сделать undo в EditBox ?
 Alex (04-04-2003 15:09:51)
Извините, а где в C++Builder есть этот компонент ? (EditBox)
Что-то я такого не нашел, если TEdit, то:

Edit1->Undo();

Backs out all changes in the undo buffer.

void __fastcall Undo(void);

Description

Call Undo to cancel all changes made to the Text property since the last call to the ClearUndo method. If ClearUndo was never called, Undo rolls back all changes.

To determine whether there are any changes in the undo buffer, check the CanUndo property.