NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: JohanR on March 14, 2024, 01:19:01 AM
-
Hi,
For some reason can't figure out how to get a user response when they click a button and act accordingly?
eg. similar to the message function.
'Are you sure you want cancel this action?'
if yes - delete record
if no - leave as is
If I look at the code , it seems as if the Form "Cancel confirmation" message that pops up is part of the form function
Is there a way I can include a custom action in this function?
thanks
Johan
-
for me work create a memory form with 2 buttons and fill session variable with a valid values and in GotFocusBack process according the values in session value
-
What Osa said.
-
Hi osquiabro/bruce
thanks for info,
just to understand,
on the memory form how are the 2 buttons setup?
and what action will close the memory form and end up in the gotfocusback in the 'calling' procedure
any examples that you possibly can point me to that has similar action?
thanks
Johan
-
I think you're overthinking it. The Save and Cancel buttons on the form (perhaps with different text) will do you fine.