You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Show Contents List

AVCLOSEFORM Function

Signals to the Framework to close the current form.
Syntax
AVCLOSEFORM()
Parameters
None
Return Value
None
Remarks
If a RAMP screen is running as a separate form, and needs to be closed automatically after completing, use AVCLOSEFORM.
Ensure that the current form is a form known to the Visual LANSA Framework, at the point the AVCLOSEFORM is issued, and that there is a valid Return Script for this Junction or Destination. This will allow the Framework to navigate back to sign off and end the session cleanly.
Example
/* Close this command handler, since the Delete is now done */
/* We should ensure we are on a Junction or Destination at this point */
/* so that the Framework can cleanly navigate the newlook session to sign off */
AVCLOSEFORM();
 
 
Show Contents List

  • No labels