mark_h
9th January 2003, 22:19
Is there a simple way to disable the toolbar at the top of a specific session. I have only recently noticed that some tools sessions do this.
Thanks
Mark
tina.guntner
9th January 2003, 23:06
Do you mean the standard form options or the 'windows' options?
NPRao
10th January 2003, 00:10
Mark,
The session menu/properties are picked up based on the session type and window type.
also, you can disable the secondary tool bar options -
Secondary toolbars overview and synopsis (http://www.baanboard.com/programmers_manual_baanerp_help_functions_secondary_toolbars_overview_and_synopsis)
Buttons on secondary toolbars are automatically disabled or enabled when the corresponding form commands are disabled or enabled (see disable.commands()).
But those commands might not be valid in BaaN-4 series.
Can you post the screen shot of that particular tools session?
dnnslbrwn
10th January 2003, 00:13
Just a guess and probably not a good one, but for sessions that are not "Main Session" in Maintain sessions, you can then choose different zoom types and maybe 'Modal without title' or 'Modeless' might not have those extra parts.
Cheers,
-Dennis
mark_h
10th January 2003, 06:35
Thanks all!
Disable.command does not work on 4c3. I was talking about the File,...Help menu and the toolbar with the buttons below it. I just happened to notice one of the tools programs did not have these on there. I was hoping there was something easy that I am missing - more curious than anything. I will try to get a screen shot of the session tomorrow to show you all.
Mark
mark_h
10th January 2003, 14:50
Notice in the attached image that there is no menu or tool bar. Hoping there is a quick and easy way to do this.
Mark
lbencic
10th January 2003, 17:02
Hi Mark -
It's the zoom type of session as mentioned above. Usually for sub sessions as you captured, the type you have there is 'Modal Dialog'.
mark_h
10th January 2003, 17:33
Well it looks like Dennis had a good guess after all. Thanks Lisa and everyone. Now to see how I can use this in some zoom sub-sessions I need to develop.
Mark
nick_rogers
10th January 2003, 18:17
Modal sub-sessions do not have the menu bar as Modal means the sub-session must be closed before continuing with the Main session. Where a Modeless sub-session means that the user can continue in the main session without closing the sub-session - I guess baan figures under this scenerio that the present sub-session shuold have the capabilities that are present in the menu bar, as the sub-session is some what independent of the main session.