[Gambas-user] Safety for collections
T Lee Davidson
t.lee.davidson at gmail.com
Thu Aug 24 15:59:49 CEST 2023
On 8/24/23 08:25, BB wrote:
> 1. User clicks on an item in the list. System loads and displays the related object in the editor form.
> 2. User changes the object name and does nothing else.
> 3. (While focus is still on the name textbox or even after stuffing around in other editor controls and then shifting back) User
> presses Ctl+Z
> ---> The text reverts to the original but the "changed" indicator is still set to true.
> This gets even worse when they do repeated changes and undos.
* Monitor keypress events on the ObjectName field and use "Ctrl+Z" as a trigger to reset the semaphore?
* When the editor form loads, save the value of the ObjectName field to a global var, and then upon Save, compare the values?
More information about the User