Home > Products > CSHTMLDiff Control > Documentation > User Guide
|
SetMessageDisplayLevel
|
Previous Top Next |
|
|
| Change the level of alerts and information message-boxes.
|
|
|
| Syntax
|
|
|
| Sub SetMessageDisplayLevel(level As MessageDisplayLevel)
|
|
|
| Parameters
|
|
|
| level
|
| The requested level of alerts. See MessageDisplayLevel specification for more information.
|
|
|
| Remarks
|
|
|
| CSHTMLDiff contains various alerts and message boxes that are displayed to end-users at run-time.
|
| This method enables the programmer to specify the level of severity that causes message-boxes to appear. Alerts with severity that is lower than the specified level will not be displayed.
|
|
|
| This method does not affect any exceptions raised by CSHTMLDiff.
|
|
|
| Example
|
|
|
| Private Sub Set_Click()
|
| ' set the messages level to Warning and Errors only
|
| diffCtrl1.SetMessageDisplayLevel Warning
|
|
|
| End Sub
|
|
|
| See Also
|
|
|
| Saving settings between sessions, Diff Specification, Design-Time Usage, Message levels
|
|
|
|
|
|
|