How to create customized floating analysis toolbar via SVB macro?

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.

Please refer to this help document on the basic SVB functions used to create and customze toolbar and menus in Statistica.


In particular,
  1. 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.
  2. 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.
  3. 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.
  4. User can add the SVB macro to Statistica menu, and whenever user click on and execute the SVB macro from Statistica menu, the customized floating analysis toolbar and menu will be popped up for user to select. (see this link on how to add customized SVB macro to Statistica Classic menu, and see this link on how to add customized SVB macro to Statistica Ribbon bar menu.)
Ribbon bar menu example:

User-added image

Classic menu example:

User-added image