PowerTools SPREAD for Windows Forms 10.0J
CharInput メソッド


指定した条件で入力文字が許可される場合、結果のテキストと位置を返します。許可されない場合はFalseを返します。
構文
'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
'使用法
 
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)

パラメータ

inputKey
inputChar
currText
selStart
selLength
resultText
resultCaretPos
overwriteMode
参照

IManageFmtInput インタフェース
IManageFmtInput メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.