# FarPoint.Win.SuperEdit.UserErrorCode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="FarPoint_Win_SuperEdit_UserErrorCode" data-uid="FarPoint.Win.SuperEdit.UserErrorCode" class="text-break">UserErrorCode Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies error codes for the UserError event.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.SuperEdit.html">FarPoint.Win.SuperEdit</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
  <h5 id="FarPoint_Win_SuperEdit_UserErrorCode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum UserErrorCode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum UserErrorCode</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="FarPoint_Win_SuperEdit_UserErrorCode_ButtonMax">ButtonMax</td>
        <td><p>[6] Occurs when the user clicks a button that causes the value of the ButtonIndex property
to be more than the value set by the ButtonMax property;
only occurs when the ButtonWrap property is set to False</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_UserErrorCode_ButtonMin">ButtonMin</td>
        <td><p>[5] Occurs when the user clicks a button that causes the value of the ButtonIndex property
to be less than the value set by the ButtonMin property;
only occurs when the ButtonWrap property is set to False</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_UserErrorCode_DataNotAllowed">DataNotAllowed</td>
        <td><p>[9] Occurs when the user provides data that is not allowed,
such as a value greater than the maximum value allowed in the control</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_UserErrorCode_ExceedLimit">ExceedLimit</td>
        <td><p>[4] Occurs when the user adds text that causes the length of the data to exceed the maximum limit
set by the MaxLength property</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_UserErrorCode_GenericError">GenericError</td>
        <td><p>[999] Occurs when some other type of error occurs (not corresponding to any other error code)</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_UserErrorCode_InvalidAction">InvalidAction</td>
        <td><p>[3] Occurs for all other invalid actions</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_UserErrorCode_InvalidCharacter">InvalidCharacter</td>
        <td><p>[1] Occurs when the user provides an invalid character;
only when the UserEntry property is set to UserEntry.Formatted</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_UserErrorCode_InvalidMovement">InvalidMovement</td>
        <td><p>[2] Occurs when the user attempts to move the cursor left from before the
first character or right from after the last character;
only occurs when the AutoAdvance property is set to False</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_UserErrorCode_OutOfRange">OutOfRange</td>
        <td><p>[7] Occurs when the user enters a value that exceeds the minimum or maximum value
set by the maximum and minimum value properties</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_UserErrorCode_PopupOrDropdownVisible">PopupOrDropdownVisible</td>
        <td><p>[8] Occurs when the user interacts with the control while a
pop-up or drop-down is displayed</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
