CharInput Method (IManageFmtInput2)
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 As Integer, _
ByVal As Char, _
ByVal As String, _
ByVal As Integer, _
ByVal As Integer, _
ByRef As String, _
ByRef As Integer, _
ByVal As Boolean _
) As Boolean
'Usage
Dim instance As IManageFmtInput2
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)
bool CharInput(
int ,
char ,
string ,
int ,
int ,
out string ,
out int ,
bool
)
Parameters
- inputKey
- inputChar
- currText
- selStart
- selLength
- resultText
- resultCaretPos
- overwriteMode
See Also