ViewManager

The ViewManager object allows scripts to create custom columns that are available in the Active Securities view.  To get a reference to the ViewManager object, call Application.GetObject("ViewManager").

Properties:

CurrentProfile

Type: ViewProfile object

 

The CurrentProfile property returns a reference to the currently selected view profile.

Methods:

CreateExpressionColumn(name, expression)

name: string

expression: string

 

Creates a custom column where the value is calculated from the given expression.  The expression can contain references to other columns in the Active Securities view, mathematical operations, and constants.

 

CreateMemoColumn(name, attribute, readonly)

name: string

attribute: string

readonly: boolean

 

Creates a memo column where the value is copied from the specified attribute, which can be a custom attribute.

 

UpdateObjectInView(object)

object: Ticker object

 

Forces a redraw of the object in the user interface.  This method can be called after the ticker state changes.

 

Requirements: Personal Stock Streamer 7.0.4 or later.