Using the Process Analyst > Process Analyst for Developers > Automation Model > IProcessAnalyst.AutoScroll [Property][Get/Set]

IProcessAnalyst.AutoScroll [Property][Get/Set]

Gets or Sets the automatic scrolling of pens as time passes.

Defined As

Execution Result

If the property get/set succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument.

Remarks

This function does not synchronize the pens to now. The display will be updated according to the value of the DisplayRefreshRate property.

Limits

Calling Syntax

Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".

[VBA]

Sub Example()
Dim autoScroll As Boolean
`Getting Property value
autoScroll = myPage_AN35.AutoScroll
`Setting Property value
myPage_AN35.AutoScroll = True
End Sub

[Cicode]

FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
INT autoScroll;
// Getting current property value
autoScroll = _ObjectGetProperty(hProcessAnalyst, "AutoScroll");
// Setting Property to true
_ObjectSetProperty(hProcessAnalyst, "AutoScroll", -1);
END