Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Historian

SetFocusOnSelectedTag

  • Last UpdatedSep 04, 2024
  • 1 minute read

The SetFocusOnSelectedTag method sets the focus on the selected tag based on the selected path and the index of the selected tab and tag.

Syntax

aaHistClientTagPicker.SetFocusOnSelectedTag(string treePath, int tabIndex, int tagIndex);

Parameters

treePath

The full path of the tree node from where the tag is to be selected.

tabIndex

The index of the selected tab starting from zero.

tagIndex

The index of the selected tag starting from zero.

Example

The following example sets the focus on the sixth tag from the third tab in the "All Discrete Tags" group available under server MES01.

#aaHistClientQuery1.SetFocusOnSelectedTag ("MES01.Public Groups.All Discrete Tags", 2, 5);

In This Topic
TitleResults for “How to create a CRG?”Also Available in