Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win.SuperEdit Namespace / UserErrorCode Enumeration


In This Topic
    UserErrorCode Enumeration
    In This Topic
    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
    Inheritance Hierarchy

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

    See Also