Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NTextBox Class / MoveCaret Method / MoveCaret(ENCaretMoveDirection,Boolean) Method


In This Topic
    MoveCaret(ENCaretMoveDirection,Boolean) Method
    In This Topic
    Moves the caret position in the specified direction. Optionally selects the text enclosed in the prev select caret position and the new one.
    Syntax
    'Declaration
     
    
    Public Overloads Sub MoveCaret( _
       ByVal direction As ENCaretMoveDirection, _
       ByVal select As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NTextBox
    Dim direction As ENCaretMoveDirection
    Dim select As System.Boolean
     
    instance.MoveCaret(direction, select)
    public void MoveCaret( 
       ENCaretMoveDirection direction,
       System.bool select
    )

    Parameters

    direction
    select
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also