'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
bool CharInput(
int ,
char ,
string ,
int ,
int ,
out string ,
out int ,
bool
)
パラメータ
- inputKey
- チェックするキー。
- inputChar
- チェックする文字。
- currText
- チェックするソース文字列。
- selStart
- チェックする開始インデックス。
- selLength
- チェックする長さ。
- resultText
- 結果のテキスト。
- resultCaretPos
- 結果テキストの位置。
- overwriteMode
- 桁数をチェックするかどうかを示すフラグ(trueの場合は桁数をチェックしません)。
戻り値の型
入力文字が指定された条件で許可されている場合はtrueを返し、それ以外の場合はfalseを返します。