RalphBaan
4th March 2002, 11:42
I have a field that zooms to a menu with 3 options (sessions). Each session returns a different value.
I would like to put this value in the zoom return field.
Does anyone know an answer for this question?

Greetz Ralph :confused:

MauroME
4th March 2002, 17:25
Hi,
I am not sure if you want this:

Main sessionA SubsessionsB
1) field zoom ----> Subsesions B
2) Value Returned <--- Value Session
1) Main session code:

extern domain ... valueok
....
field.myfield:
before.zoom:
zoom.sesion$(..) or activate(sesion)

2) Subsesions..B:

domain ...aux

zoom.from.all:
on.exit:

aux = Subsesion Value
export("valueok",aux)


Regards,
Mauro M.E

toolswizard
4th March 2002, 20:27
You don't have to do anything special when using zoom to a menu. It works the same as if you zoomed to the subsession directly. Just remember you have to zoom to a subsession, or use import/export for your externally declared variable.

RalphBaan
5th March 2002, 10:51
Thanx for all solutions.