Retrieves the last selected pen on the Process Analyst.
Defined As
Execution Result
If the property get succeeds the return value will be Success. If the return variable is bad then the return value will be InvalidArgument.
Remarks
The last selected pen is also referred to as the "primary" selection. If there are no pens in the view, an invalid object will be returned.
Limits
Calling Syntax
Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".
[VBA]
Sub Example()
Dim selectedPen As Object
`Retrieve primary selection
Set selectedPen = myPage_AN35.LastSelectedPen
End Sub
[Cicode]
FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
OBJECT selectedPen;
// Retrieve primary selection
selectedPen = _ObjectGetProperty(hProcessAnalyst, "LastSelectedPen");
END