Fired when a debug string is output.
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.
|Visual Basic||Copy 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