How to create customized floating analysis toolbar via SVB macro?
book
Article ID: KB0080796
calendar_today
Updated On:
Products
Versions
Spotfire Statistica
13.0 and higher
Description
How to create customized floating analysis toolbar and menus via SVB macro?
Issue/Introduction
How to create customized floating analysis toolbar and menu via SVB macro?
Environment
Windows
Resolution
User can create new and customize toolbar with menus via SVB macro to quickly access their commonly used analysis modules and their user-defined SVB macro analysis.
SVB object "CommandBars" is used to create and customize toolbar in Statistica via SVB macro. And it works well for both Statistica Classic menu mode and Ribbon bar menu mode.
SVB coding "newBar.Visible = TRUE" will make the cusotmized toolbar always visible to users. In case user accidentally close the customized toolbar, re-executing the SVB macro with coding "newBar.Visible = TRUE" will display the toolbar to user.
User can make the fully customized toolbar as a floating toolbar dialog by using the SVB coding "newBar.Position = scBarFloating". In case user has moved the toolbar to elsewhere, re-executing the SVB macro with coding "newBar.Position = scBarFloating" will always resume the customized toolbar as a floating dialog.