Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NTextBox Class / SetCaretPos Method / SetCaretPos(NTextPosition) Method


In This Topic
    SetCaretPos(NTextPosition) Method
    In This Topic
    Sets the caret position. Resets the selection. Updates the caret XGuideCaretPos position.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetCaretPos( _
       ByVal pos As NTextPosition _
    ) 
    'Usage
     
    
    Dim instance As NTextBox
    Dim pos As NTextPosition
     
    instance.SetCaretPos(pos)
    public void SetCaretPos( 
       NTextPosition pos
    )

    Parameters

    pos
    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