Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FocusProcess Class
Members


In This Topic
    FocusProcess Class
    In This Topic
    Represents a special ValidateActionBase that keeps the focus on the validating Cell when validation fails.
    Syntax
    'Declaration
     
    
    Public Class FocusProcess 
       Inherits ValidateActionBase
       Implements FarPoint.Win.ISerializeSupport, INamedObject 
    'Usage
     
    
    Dim instance As FocusProcess
    Remarks

    This action is similar to setting cancel to true in the CellValidating event. If you change the ValidateActionBase.DoActionReason, the behavior of this action is special. For example, if you add ValidateReasons.EndEdit and ValidateReasons.CancelEdit, the validating cell cannot end edit mode even if you do not leave the current cell.

    This action only takes effect when setting the PreventFocusLeave property value to true.

    Inheritance Hierarchy

    System.Object
       FarPoint.Win.Spread.ValidateActionBase
          FarPoint.Win.Spread.FocusProcess

    See Also