Spread Windows Forms 10.0 Product Documentation
UserErrorCode Enumeration


Specifies error codes for the UserError event.
Syntax
'Declaration
 
Public Enum UserErrorCode 
   Inherits System.Enum
'Usage
 
Dim instance As UserErrorCode
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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FarPoint.Win.SuperEdit Namespace
UserError Event
UserErrorEventArgs Class
UserErrorEventHandler Delegate

 

 


Copyright © GrapeCity, inc. All rights reserved.