Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Show Contents List

...

RAMP has signaled it is interactive.
 

Parameters

ForAction

Char 256

String that specifies a user defined action identifier.

NextAction

Char 256

When a second action is attempted during the handling of an action, specify it here.

...

Remarks

Sometimes you might need to perform a second action within the same event handler.

For example, you make RAMP available for action A. For this action you navigate to a screen, then you get some values and depending on a condition you want to do action B or C, that is, navigate to a different screen.

Invoking the MakeRampAvailable method for action B or C while handling action A will cause a signal to the same event routine with undesirable consequences. It's only in these situations where you must set NextAction.

Example

...

     Evtroutine Handling(#myscreen_wrapper.RampAvailable) Foraction(#ForAction) Nextaction(#NextAction)

...

 
Case (#ForAction)
When Value_Is('= Display')
navigate to a screen
get value
If value is A
#NextAction := X
Else
Navigate to Y
endif
When Value_Is('= X')
When Value_Is('= Y')
Otherwise
Use Builtin(message_box_show) With_Args(ok ok info *component ('Unknown ForAction>>' + #ForAction.Value + '<<'))
Endcase

...


Endroutine

...


See Also

Also see MakeRampAvailable Method.
Show Contents List