Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
ThisWindow.Run PROCEDURE(USHORT Number,BYTE Request)
ReturnValue BYTE,AUTO
! Start of "WindowManager Method Data Section"
! [Priority 5000]
! End of "WindowManager Method Data Section"
CODE
! Start of "WindowManager Method Executable Code Section"
! [Priority 2500]
! Parent Call
ReturnValue = PARENT.Run(Number,Request)
! [Priority 6000]
! ===== MY CODE
IF ForceView
Request = ViewRecord
END
! ===== END OF MY CODE
IF SELF.Request = ViewRecord
ReturnValue = RequestCancelled ! Always return RequestCancelled if the form was opened in ViewRecord mode
ELSE
GlobalRequest = Request
Fr ! < --------------------------- Form procedure
ReturnValue = GlobalResponse
END
! [Priority 8500]
ForceView = FALSE ! <====================================== MY CODE reset flag
! End of "WindowManager Method Executable Code Section"
RETURN ReturnValue