Event: DigitsGathered
|
Function: |
Return the result of gathering digits from the line. |
|
| Parameters: |
LineIndex: The line on which the event is raised.
Digits: Digits gathered. Result: The cause of the occurrence of the event. 1: A certain count of digits have been gathered. 2: A special digit which has been set in the terminatDigit parameter of the GatherDigits METHOD has been detected. 3: A timeout occurs when waiting for the first digit. 4: A timeout occurs between two adjacent digits. |
|
| Description: |
The process of gathering digits begins when the GatherDigits METHOD is invoked, and ends when this EVENT is raised. |
|
| Raised By: |
Completion of gathering digits, as specified in the GatherDigits Method. |
|
Sample Code In Visual Basic:
Sub V_DigitsGathered(LineIndex as Integer,Digits as String ,result as Integer )
Select case result
case 1
MessageBox "Digits gathered by count. The digits are "+Digits
case 2
MessageBox
"Digits gathered by special digit . The digits are "+Digits
case 3
MessageBox
"Timeout when waiting for the first digit. "
case 4
MessageBox"Timeout between digits. Digits collected are "+Digits
End Select
End sub
¡¡