void ModifyVarValueOrderFlags( String sVarName, int nClearFlags, int nSetFlags )
String sVarName
The name of the variable whose custom ordering flags you want to modify.
int nClearFlags
The custom ordering flags you want to clear. To specify multiple flags, use the addition operator (+) to add them together.
int nSetFlags
The custom ordering flags you want to set. To specify multiple flags, use the addition operator (+) to add them together.
This method modifies the custom ordering flags for a variable. The flags are modified in the following manner:
Flags = (Flags & ~nClearFlags) | nSetFlags
where '&' is the bitwise AND operator, '~' is the one's complement operator, and '|' is the bitwise OR operator.
For information about the custom ordering flags and custom ordering in general, see DataObject.SetVarValueOrder.
declare DataObject dobj;
x = { "Low", "Medium", "Medium", "High", "High", "HIGH" };
dobj = DataObject.Create( "Example", "X", x );
values = { "Low", "Medium", "High", "HIGH" };
dobj.SetVarValueOrder( "X", values );
dobj.ModifyVarValueOrderFlags( "X", 0, VVO_CASESENSITIVE );
BarChart.Create( dobj, "X" );
DataObject.DeleteVarValueOrder
DataObject.EnableVarValueOrder
DataObject.GetVarValueOrderFlags
DataObject.IsVarValueOrderEnabled
DataObject.SetVarValueOrder