MiscGetEnumNameByRow()
- Last UpdatedAug 24, 2016
- 1 minute read
This method queries the name of the enumeration based on the enumeration set name and the enumeration value. For example, if the enumeration set name is Mode, the value 1 is defined as Manual, 4 as Semi-Auto, and 20 as Automatic in the Process Model Editor for Enumerations, then MiscGetEnumNameByRow("Mode", 2) would return Semi-Auto since that is the second enumeration value in the set. This method is used to determine enumeration names for both the EditPhaseParam list and the PhaseParam list. A String return value (16 characters) contains the enumeration name.
Syntax
ReturnValue = OcxBatchVar.MiscGetEnumNameByRow( SetName, Row)
Parameters
SetName
Data Type: String
Enumeration set name
Row
Data Type: Short
Row index of enumeration set