Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win.SuperEdit Namespace / IManageFmtInput Interface / CharInput Method


In This Topic
    CharInput Method (IManageFmtInput)
    In This Topic
    Returns the resulting text and position if the input character is allowed under given conditions. If not allowed, returns false.
    Syntax
    'Declaration
     
    
    Function CharInput( _
       ByVal inputKey As Integer, _
       ByVal inputChar As Char, _
       ByVal currText As String, _
       ByVal selStart As Integer, _
       ByVal selLength As Integer, _
       ByRef resultText As String, _
       ByRef resultCaretPos As Integer, _
       ByVal overwriteMode As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As IManageFmtInput
    Dim inputKey As Integer
    Dim inputChar As Char
    Dim currText As String
    Dim selStart As Integer
    Dim selLength As Integer
    Dim resultText As String
    Dim resultCaretPos As Integer
    Dim overwriteMode As Boolean
    Dim value As Boolean
     
    value = instance.CharInput(inputKey, inputChar, currText, selStart, selLength, resultText, resultCaretPos, overwriteMode)

    Parameters

    inputKey
    inputChar
    currText
    selStart
    selLength
    resultText
    resultCaretPos
    overwriteMode
    See Also