kathuria
30th July 2007, 14:57
Hi,

I have developed session which I want to add in standard session as button.
I have already add customized session as form command type as session but It showing into specific only. I need into toolbar.

My standard session is MMT session.

Regards,
Sanjay Kumar

NPRao
30th July 2007, 20:24
Sanjay,

I assume you want to add the standard session in the Secondary Tool Bar in your new customized session.

You have to use the command create.extra.toolbar() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_secondary_toolbars_create_extra_toolbar) in your code.

kathuria
30th July 2007, 21:18
Hi,
I want to add customized session in standard session. I know about this command. But I don't have standard script.

Regards,
Sanjay

armbrusts
1st August 2007, 01:31
I have a similar problem, I don't think the setting "show on menu bar of detail session" for form commands is respected for MMT sessions.

I have a session that I copied from a non-MMT session, and these buttons dissappear.

I'd love to be proven wrong.

eric.dizon
26th November 2012, 17:46
Any body figured this out if this is possible to add a Button in toolbar for a standard session?

BaanInOhio
27th November 2012, 04:47
I don't think there is anything you can do without source involving toolbars. The toolbar is defined in the source code by linking graphical files with form commands by name, not number. Any form command in the "create.extra.toolbar' call (program script source) that isn't present in the form will provide an error, especially when running in the menu browser.

benito
27th November 2012, 15:08
create a wrapper session of the standard program, and add the extra toolbar.

just a thought.

eric.dizon
27th November 2012, 20:37
Sorry for being ignorant how can I do that? An example would be greatly appreciated...

benito
27th November 2012, 20:48
here is the link to wrapper sessions:

http://www.baanboard.com/baanboard/showthread.php?t=559&highlight=rush+dll&page=6

Sorry for being ignorant how can I do that? An example would be greatly appreciated...