User Tools

Site Tools


disablecancelbutton_prevent_cancel_after_save_.htm
Navigation:  ABC Library Reference > WindowManager > WindowManager Properties >====== DisableCancelButton (prevent cancel after save) ====== Previous pageReturn to chapter overviewNext page
DisableCancelButton BYTE

blk2blue.jpg

The DisableCancelButton property when set to TRUE (1) causes all buttons with the PRIVATE Action property set to RequestCancelled to be disabled when a record is saved.

Implementation:

 CODE

 IF SELF.DisableCancelButton

   LOOP I = 1 TO RECORDS(SELF.Buttons)

     GET(SELF.Buttons,I)

     IF SELF.Buttons.Action = RequestCancelled

       SELF.TakeDisableButton(SELF.Buttons.Control, False)

     END

   END

 END

See Also:     TakeDisableButton

disablecancelbutton_prevent_cancel_after_save_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1