vHandleArrive Event

RAMP-TS

vHandleArrive Event

A screen has arrived.

ArrivedScreen

Char 256

String that specifies the name of the arrived screen.

PreviousScreen

Char 256

String that contains the name of the previous screen.

ArrivedPayload

Char 256

String that contains a payload.

ForAction

 

Char 256

 

String that was passed as a parameter to the NavigateToScreen method.

VariantName

Char 256

String that contains the variant name of the arrived screen

 

 

Remarks

This event will signal for every navigated screen.

Example

 

Evtroutine Handling(#myscreen_wrapper.vHandleArrive) Arrivedscreen(#ArrivedScreen) Previousscreen(#PreviousScreen) Arrivedpayload(#Payload)

 

Case (#ArrivedScreen)

 

When Value_Is(= EMPLOYEE_DETAILS)

 

Set Com(#SAVE_BUTTON) Enabled(false)

 

If (#Payload *NE UPDATE_EMPLOYEE)

 

#myscreen_wrapper.getvalue From('empno') Value(#empno.value)

#myscreen_wrapper.getvalue From('surname') Value(#surname.value)

 

Endif

 

Endcase

 

Endroutine