User manual

Table Of Contents
Part 2: Automation Programming Reference
Control Variable Types
The Type column of the XStreamBrowser window shows the control type. Control variable type
designations are defined as follows:
Type Definition
Action Action (no arguments or value)
Bool Boolean value given as { false| true} or { 0| -1 }
Color RGB value triplex "R,G,B"
Double Double-precision floating point value
DoubleLockstep Double-precision floating point value locked to a non- linear (e.g., 1, 2, 5) stepped sequence.
Enum List value (e.g., “Orange,” Apple,” “Pear”)
FileName Legal DOS path
Integer 32-bit Integer value
String String value
Properties and Methods
The properties and methods available for each control are type-specific. Listed below are the most
commonly used:
Type Properties and Methods
Integer
VARIANT Value
Value(VARIANT)
int GetAdaptedValue
SetRequestedValue(int)
int GetRequestedValue
int GetDefaultValue
int GetGrain
int GetMax
int GetMin
Increment(int)
Double
VARIANT Value
Value(VARIANT)
double GetAdaptedValue
SetRequestedValue(double)
double GetRequestedValue
double GetDefaultValue
double GetGrainValue
double GetMaxValue
double GetMinValue
Increment(int)
2-25