View Single Post
  #27  
Old 09-03-2015, 01:35 AM
marek_k marek_k is offline
Registered User
 
Join Date: Sep 2015
Posts: 9
Thumbs up

Quote:
Originally Posted by rtb View Post
It is even possible to create a button that runs a script to change to another button bar, so you could have a "master" button bar and sub button bars with scripts to switch to the master or a sub button bar.

Does this sound like it might help?

If so, you can use the following script code:
strButtonBar = crt.Arguments.GetArg(0)
Set objScriptTab = crt.GetScriptTab
objScriptTab.Session.Config.SetOption "User Button Bar Name", strButtonBar
When you define the button to switch to a different button bar, you will need to provide an argument that is the name of the button bar to which you are switching.
excellent, this is great alternative solution! thank you
Reply With Quote