Spread Windows Forms 9.0 Product Documentation
OnUserError Method (SuperEditBase)


Event arguments
Raises the UserError event.
Syntax
'Declaration
 
Public Overridable Sub OnUserError( _
   ByVal e As UserErrorEventArgs _
) 
'Usage
 
Dim instance As SuperEditBase
Dim e As UserErrorEventArgs
 
instance.OnUserError(e)
public virtual void OnUserError( 
   UserErrorEventArgs e
)

Parameters

e
Event arguments
Remarks

Provides event arguments for the UserError event, which occurs when the user tries to type or paste something into the edit control that is not allowed, or the user performs an action that cannot be processed or is invalid.

If the control's UserEntry property is set to UserEntry.FreeFormat, the UserError event does not occur, and the control lets the user type or paste anything into the control. The contents are still validated when the control loses the focus, and if invalid data was provided, the InvalidData event occurs.

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

SuperEditBase Class
SuperEditBase Members
UserError Event
UserEntry Property
InvalidData Event

 

 


Copyright © GrapeCity, inc. All rights reserved.