NetTalk Central

Author Topic: Need to Trap CLOSE of MEMFORM  (Read 164 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • Email
Need to Trap CLOSE of MEMFORM
« on: October 10, 2025, 04:01:36 AM »
Hi
C11
NT 14.31
I have a MEMFORM. Generate form tag is Checked ON. The button which calls this form sets the action to CHANGE.
On the form, I turn on a light over the selected BIN.   
I have a Button which the user presses to confirm that they have placed an item in the lit up bin.  This turns OFF the bin light.
However, If the user decides to NOT do the operation - and press the CLOSE button, I need to trap that and turn off that bin light.
SO far, I have not been able to trap any events or stages in the web form.
Do I need to trap the ajax for the CLOSE button and use that to check the bin light status?
If so, how and where would I do that?
Other suggestions?
Thanks,
Ron

osquiabro

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • Email
Re: Need to Trap CLOSE of MEMFORM
« Reply #1 on: October 10, 2025, 12:06:23 PM »
create your own button for close.

rjolda

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • Email
Re: Need to Trap CLOSE of MEMFORM
« Reply #2 on: October 10, 2025, 12:24:18 PM »
Ahhh,
That is the answer.  I won't rely on the close button of the Form, but I can create my own close button and do exactly what I want.
Thanks,
Ron