Page 1 of 1

avCloseForm for RAMP/Command Handlers

Posted: Tue Apr 16, 2019 4:28 am
by dhunt
Is there a way to close a ramp screen/command handler from a button? I see there is a avCloseForm for filters and instance lists but I don't see a similar function for command handers.

Code: Select all

Evtroutine Handling(#CloseSession.Click)
#COM_ANCESTOR.avCloseForm
Endroutine

Re: avCloseForm for RAMP/Command Handlers

Posted: Wed Apr 17, 2019 8:37 am
by MarkDale
Ordinary command handlers can use avCloseForm:

#Com_Owner.avCloseForm

RAMP command handlers don't have any RDMLX source, but in the RAMP button script, you can add a line like:

/* Close this command handler, since the task is now done */
AVCLOSEFORM();

Re: avCloseForm for RAMP/Command Handlers

Posted: Thu Apr 18, 2019 4:06 am
by dhunt
Thanks, that worked