Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FocusProcess Class

In This Topic
    FocusProcess Class
    In This Topic
    Represents a special ValidateActionBase that keeps the focus on the validating Cell when validation fails.
    Object Model
    FocusProcess Class
    Public Class FocusProcess 
       Inherits ValidateActionBase
       Implements FarPoint.Win.ISerializeSupportINamedObject 
    Dim instance As FocusProcess

    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


    See Also