Options Barchart Add-in

The Options Barchart tool uses the Configurable Options functionality to configure the appearance of the Options Barchart view on the fly.

When the tool is run for a selected open project, Open Plan displays the Options Barchart view and an Options dialog box with the following check box options:

  • Highlight Critical Path
  • Show Float
  • Show Milestone Dates

By selecting or clearing these check boxes, you toggle the display of the critical path, float and milestone dates.

String

The following string enables this tool:

Tool11= System:Options Barchart;%SYSTEMDIR%\Sample Tools\vbapps\options\options.exe "_Option_" "OptionsBarchart" %P

Where

  • _Option_ identified the calculated fields used by the Options Barchart tool. The names of the three calculated fields all begin with “_Option_” (for example, _Option_Highlight_Critical_Path). When displayed in the Options check box, the “_Option_” and the remaining underscores are removed.
  • OptionsBarchart identifies the name of the activity barchart that is displayed. The Configurable Options sample application allows you to create a custom Add-Ins tool that configures the appearance of an activity barchart view on the fly. This works by changing the value of specific calculated fields. The barchart attributes are defined to use filters that respond to changes in these calculated fields, thus changing the appearance of the barchart view.

Using this Functionality

To use this functionality, add the following line to the AddIns.dat file:

Tool#=Label;Drive:\Path\Options.exe “_Optiontag_” “Viewname” %P

Where:

  • # is a valid Tool number.
  • Label is the name that is displayed on the Add-Ins tab.
  • Drive:\Path\ is the location of the Options.exe file.
  • _Optiontab_ is the string that identifies a calculated field as a configurable option.
  • Viewname is the name of the activity barchart view that is to be displayed.

Related Topic