ParameterEdit Snap-ins

These modules are accessories toParameterEdit

ParameterEdit is used for handling the value of a parameter in the user interface. Snap-Ins are modules that can be paired with ParameterEdit to identify the type of parameter value to be edited along with parameters specific to that use case.

How to Use Snap-Ins

  1. Use the name of the snap-in module in the Modules Array parameter of ParameterEdit.
    (such as, Modules[0] = "ParmEditColor")
  2. Parameters needed for all uses of ParameterEdit (like ParmVal, ParmPtr, Enable) are to be configured in ParameterEdit. Do not include them in your array.
  3. Parameters specific to the snap-in go into the Parameters array.

The Parameters array might look something like this:

Modules[1] = "ParmEditExprNoNormalize"; 
Parameters[1] = New(4);             {allocates memory for an array, specifies a size 4, for 4 parms}
Parameters[1][0] = 0b1001;          {MenuEnables}
Parameters[1][1] = ContainerInfo;   {ContainerInfo}
Parameters[1][2] = #VTypeFont;      {TargetType}
Parameters[1][3] = "FontValue";     {TargetSubType}

The first 11 parameters in the snap-in (Expr, ParmPtr, Enable, Left, Bottom, Right, Top, LabelWidth, LabelHeight, PtrWaitClose, DlgRoot) are configured in ParameterEdit so they are no included in the array.

ParameterEdit Wrappers

VTScada has a growing catalog of ParameterEdit Wrappers. These are modules that are like ParameterEdits that have already been partially configured. Before making your own customized ParameterEdit-- Check out our wrapper options!

AlignmentParameterEdit

NumericParameterEdit

ColorParameterEdit

TagParameterEdit

DurationParameterEdit

TextParameterEdit

MultiCheckboxParameterEdit

TimestampParameterEdit