Customization > Automation Interface > Functions > For User Interface > Functions for the Results Pane > AddToResultsPane function (automation interface)
AddToResultsPane function (automation interface)
Syntax:
AddToResultsPane(<pane>, "<id>")
Where:
<pane is a numeric value that specifies the Results pane to add an item - 0 specifies the Results pane, 1 specifies the Results2 pane.
<id> is a string that specifies the Id of the item you want to add to the specified Results pane.
This function adds an item to the Results or Results2 pane.
Example
In this example, Class1 is added to the Results2 pane through its Id.
Set objItem = Dictionary.Item("Class", "Class1")
strItem = objItem.Property("Id")
call Studio.AddToResultsPane(1, strItem)
Was this helpful?