Spread Windows Forms 6.0 Product Documentation
UserErrorCode Enumeration
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win.SuperEdit Namespace : UserErrorCode Enumeration


Glossary Item Box

Specifies error codes for the UserError event.

Syntax

Visual Basic (Declaration) 
Public Enum UserErrorCode 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As UserErrorCode
C# 
public enum UserErrorCode : System.Enum 

Members

MemberDescription
ButtonMax[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
ButtonMin[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
DataNotAllowed[9] Occurs when the user provides data that is not allowed, such as a value greater than the maximum value allowed in the control
ExceedLimit[4] Occurs when the user adds text that causes the length of the data to exceed the maximum limit set by the MaxLength property
GenericError[999] Occurs when some other type of error occurs (not corresponding to any other error code)
InvalidAction[3] Occurs for all other invalid actions
InvalidCharacter[1] Occurs when the user provides an invalid character; only when the UserEntry property is set to UserEntry.Formatted
InvalidMovement[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
OutOfRange[7] Occurs when the user enters a value that exceeds the minimum or maximum value set by the maximum and minimum value properties
PopupOrDropdownVisible[8] Occurs when the user interacts with the control while a pop-up or drop-down is displayed

Remarks

These are error codes for the UserError event in the SuperEditBase class.

For more information, see these properties in the SuperEditBase class:

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.SuperEdit.UserErrorCode

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.