T.R | Title | User | Personal Name | Date | Lines |
---|
1936.1 | What about an 'ARG' type form? | CESARE::EIJS | All in 1 Piece | Thu Dec 10 1992 07:53 | 15 |
|
Hi Joe,
> ...that the named data on the called form is not invoked until the
> named data which follows the FORM function
This is the case if the form called is a MENU type form. If you change
the form type to ARG it will do what you want. However, it not being a
MENU form any longer the form has to take care of processing the CHOICE
input, check if it's a valid 'menu' entry and call the associated code
for the option.
Ciao,
Simon
|
1936.2 | Then can you explain this? | HOTAIR::MADDOX | Politicians say the darnedest things | Thu Dec 10 1992 15:58 | 16 |
| Simon,
Thanks! I was afraid this might be the answer. Can you (or anyone
else) offer any explanation as to why this logic works from an index
menu? I call exactly the same menu from named data associated with a
OA$_MO_X_READ option and it works fine.
All the called menu does is let the user specify whether he wants a
Brief or Full description displayed or printed. The menu just sets a
symbol based on which option the user selects. The reason I elected
to user a menu instead of an argument form was to preserve the menu
behavior.
Thanks,
Joe
|
1936.3 | Try a OA$MENU_LEVEL_PUSH | HVNBND::WARFORD | Richard Warford @CEO DTN 367-5455 | Thu Dec 10 1992 18:56 | 10 |
| ALL-IN-1 only lets one menu be active at a time. When you call the
FORM function and it is a menu, it just puts the menu name on the
stack. When it comes time to ask for user input (for a menu choice)
it activates the menu on the top of the stack.
You may be able to force it to process the menu when you want using
the OA$MENU_LEVEL_PUSH function. This starts a new stack - so it
won't think its in the middle of processing the current menu.
Rick
|
1936.4 | .2 - theory | IOSG::SHOVE | Dave Shove -- REO2-G/M6 | Fri Dec 11 1992 09:32 | 6 |
| Could it be because Index forms aren't menus (they're .TYPE INDEX).
I'm not an expert on how this part of the product works, but there
could be difference in processing.
Dave.
|