Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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