This event is raised when the state of input parameters needs to be updated. The boxes for entering the parameter values can be deactivated if their value is fixed or irrelevant.

syntaxSyntax:
function OnEnableParams(tabIndex)

Parameters

Parameter Description
tabIndex Index of the active tab. The value is between 1 and the number of tabs defined in function DefineTabs.

Remarks

Input boxes should be disabled using the DisableParam function.

Example

  Copy codeCopy code
function OnEnableParams(tabIndex)
{
  switch (tabIndex)
  {
  case 1:
    FWiz.DisableParam(3);
    break;
  }
}

See also