0
Develop with Genexus Smart Devices Ev3 U1 for Android.
I intend to develop a screen Father that by clicking a button opens the screen Son, where the user selects an item in a grid and returns to the Parent by displaying the clicked item.
But does not return the "out" parameter of the Child.
See how I’m trying:
in the Panel "Father" there is a button with the event below:
Event 'Adicionar Lugar'
Composite
pnPromptCota.Call(&addLugVCOTA_COTACODIGO)
TextblockLugarDs.Caption = &addLugVCOTA_COTACODIGO.ToString()
Interop.Msg('&addLugVCOTA_COTACODIGO= '+&addLugVCOTA_COTACODIGO.ToString().Trim())
EndComposite
Endevent
In the Panel "Son" (Selection Prompt) has a grid with Tap event:
parm(
out: &VCOTA_COTACODIGO
);
Event VCOTA_COTACODIGO.Tap
&VCOTA_COTACODIGO = VCOTA_COTACODIGO
SDActions.Return()
Endevent
But when returns brings zero code (in "Interop.Msg....").
For me there is no logic, it seems all right, just as I would in Web programming with Genexus.
What can I change to make OUT return?
I await return. Thank you!
Note: I’ve tried only "Return" instead of "Sdactions.Return()" and it doesn’t work either.