[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Undo/Redo and text controls - setting text in code
[Thread Prev] | [Thread Next]
- Subject: Undo/Redo and text controls - setting text in code
- From: BB <adamnt42@xxxxxxxxx>
- Date: Tue, 14 Jan 2025 10:41:27 +1030
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
Hi all 'n happy 25Is 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
Re: Undo/Redo and text controls - setting text in code | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |