fmartinezber
28th May 2003, 21:17
Hi
I'm trying to call a maintain session when de user ckic the "new" bottom in a display session. I've added a new "form command" in the form, but de new command appears in the specific menu.
Thanks
NPRao
28th May 2003, 21:36
Well, if you are adding a form command it would obviously come up in the specific menu. But if you like to override the default "New" icon you can code it as -
choice.add.set:
before.choice:
|* Use start.session to invoke the session with the right MODE.
Refer to the functions -
start.session() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_starting_and_stopping_programs_start_session)
set.synchronized.dialog() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_synchronized_sessions_set_synchronized_dialog)
start.synchronized.child() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_synchronized_sessions_start_synchronized_child)
start.synchronized.child.with() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_synchronized_sessions_start_synchronized_child_with)
stop.synchronized.child() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_synchronized_sessions_stop_synchronized_child)
fmartinezber
29th May 2003, 11:40
Thanks a lot for your fast answer.
I can't use synchronized sessions, but it is very interesting. I've used a new bottom with label "new".
Regards
Curri.