FaxMan Jr. Controls
Message Event
See Also  Example  Send comments on this topic.
bsMsg
bNewLine
FaxmanJr Object : Message Event

Glossary Item Box

Description

Fired when a debug string is output.

Syntax

Visual Basic
Public Event Message( _
   ByVal bsMsg As String, _
   ByVal bNewLine As Integer _
)

Parameters

bsMsg
bNewLine

Remarks

The Message event is fired to give your application the ability to view or save debug messages from the FaxMan Jr. control. Debug messages, including a recording of the strings sent to and received from the faxmodem, are sent constantly throughout the faxing processes. Keeping a record of these strings can significantly assist in debugging efforts if there is a problem of some sort while sending or receiving a fax.

 

The bsMsg parameter is the debug string to be output/stored. bNewLine is TRUE if the bsMsg string should be followed by a carriage return, FALSE otherwise.

 

 

Example

Visual BasicCopy Code
Private Sub faxctl1_Message(ByVal bsMsg As String, ByVal bNewLine As Integer)

    If bNewLine <> 0 Then 

        Text1.SelText = bsMsg & Chr$(13) & Chr$(10) 

    Else 

        Text1.SelText = bsMsg 

    End If 

End Sub

See Also