Spread WinForms 15
FarPoint.Win Assembly / FarPoint.Win.SuperEdit Namespace / GeneralFormatter Class / ValidatePosNegSignPlacement Method


In This Topic
ValidatePosNegSignPlacement Method
In This Topic
Determines if the Positive/Negative sign is allowed at the current position.
Syntax
'Declaration
 
Protected Overridable Function ValidatePosNegSignPlacement( _
   ByVal fNegSignChar As Boolean, _
   ByVal fSctfc As Boolean, _
   ByVal iSctfcNota As Integer, _
   ByVal fOpenParen As Boolean, _
   ByVal fNumericChars As Boolean, _
   ByVal iCurrCharIndex As Integer, _
   ByRef fNumSign As Boolean, _
   ByRef fNegative As Boolean, _
   ByRef fExpNumSign As Boolean, _
   ByRef fExpNegative As Boolean _
) As Boolean
 
'Usage
 
Dim instance As GeneralFormatter
Dim fNegSignChar As Boolean
Dim fSctfc As Boolean
Dim iSctfcNota As Integer
Dim fOpenParen As Boolean
Dim fNumericChars As Boolean
Dim iCurrCharIndex As Integer
Dim fNumSign As Boolean
Dim fNegative As Boolean
Dim fExpNumSign As Boolean
Dim fExpNegative As Boolean
Dim value As Boolean
 
value = instance.ValidatePosNegSignPlacement(fNegSignChar, fSctfc, iSctfcNota, fOpenParen, fNumericChars, iCurrCharIndex, fNumSign, fNegative, fExpNumSign, fExpNegative)

Parameters

fNegSignChar
fSctfc
iSctfcNota
fOpenParen
fNumericChars
iCurrCharIndex
fNumSign
fNegative
fExpNumSign
fExpNegative

Return Value

true is sign is in valid place; false otherwise
See Also