GrapeCity SPREAD for Windows Forms 12.0J
IncrementValue メソッド


現在のテキスト文字列
位置インデックス
インクリメントする量
複数行に折り返すかどうか
空白の場合の初期値
結果のテキスト文字列
結果の入力位置
テキストが表す値を(「incrAmt」の記号に応じて) インクリメントまたはデクリメントします。
構文
'Declaration
 
Function IncrementValue( _
   ByVal currText As String, _
   ByVal position As Integer, _
   ByVal incrAmt As Object, _
   ByVal wrapValueFlag As Boolean, _
   ByVal initValueIfBlank As Object, _
   ByRef resultText As String, _
   ByRef resultCaretPos As Integer _
) As Boolean
'使用法
 
Dim instance As IManageFmtInput
Dim currText As String
Dim position As Integer
Dim incrAmt As Object
Dim wrapValueFlag As Boolean
Dim initValueIfBlank As Object
Dim resultText As String
Dim resultCaretPos As Integer
Dim value As Boolean
 
value = instance.IncrementValue(currText, position, incrAmt, wrapValueFlag, initValueIfBlank, resultText, resultCaretPos)

パラメータ

currText
現在のテキスト文字列
position
位置インデックス
incrAmt
インクリメントする量
wrapValueFlag
複数行に折り返すかどうか
initValueIfBlank
空白の場合の初期値
resultText
結果のテキスト文字列
resultCaretPos
結果の入力位置
参照

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

 

 


Copyright © 2004 GrapeCity inc.