Главная страница | назад





Article #17265: How can I programmatically undo changes in an edit type control?

 Question and Answer Database
FAQ2265C.txt How can I programmatically undo changes in an edit type control?
Category :VCL
Platform :All
Product :C++Builder 1.x
Question:
How can I programmatically undo changes in an edit type control?
Answer:
You can use:
void __fastcall TForm1::Button1Click(TObject *Sender)
{
Edit1->Perform(EM_UNDO,0,0);
}
To preform a "Redo" simply "Undo" a second time.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99