donJ
2017-12-29 21:03:29 UTC
Hi,
Merry Christmas to all!
I have a pagepanel which includes a bunch of TextFields to allow the
user to edit information. Then, there are buttons: Cancel, Revert and Apply.
It works fine except, if the user forgets to apply the changes, there is
no warning. If he then selects a different record to edit, the info on
the pagepanel is changed, losing the first changes.
A pagepanel has an "AutoDeactivate" property, but no Activate or
Deactivate event to trigger a warning message.
I suppose I could set "enabled = false" for the other controls on the
window when the panel is accessed or the frist change is made, to avoid
changing the record, but there still would be no message.
Any ideas?
Thanks,
Don
To unsubscribe, email ***@xojo.com
Merry Christmas to all!
I have a pagepanel which includes a bunch of TextFields to allow the
user to edit information. Then, there are buttons: Cancel, Revert and Apply.
It works fine except, if the user forgets to apply the changes, there is
no warning. If he then selects a different record to edit, the info on
the pagepanel is changed, losing the first changes.
A pagepanel has an "AutoDeactivate" property, but no Activate or
Deactivate event to trigger a warning message.
I suppose I could set "enabled = false" for the other controls on the
window when the panel is accessed or the frist change is made, to avoid
changing the record, but there still would be no message.
Any ideas?
Thanks,
Don
To unsubscribe, email ***@xojo.com