[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Undo/Redo and text controls - setting text in code


Hi all 'n happy 25


Is there a way to set the text of a textbox or textarea in the project code and get that change appended into the undo/redo chain?


I have some shortcuts via control_KeyPress that insert text into the control's text but that doesn't get it into that chain. For example, I want to use ALT+D to insert a "diary tag" (the date and the user) at the front of the text.


tia

bruce


Follow-Ups:
Re: Undo/Redo and text controls - setting text in codeT Lee Davidson <t.lee.davidson@xxxxxxxxx>