Displays a system message in the status bar.
Displays a system message in the status bar.
| Visual Basic |
|---|
Public Sub SetSystemMessage( _ ByVal Text As String, _ Optional ByVal Seconds As BoMessageTime = bmt_Medium, _ Optional ByVal Type As BoStatusBarMessageType = smt_Error, _ Optional ByVal HelpURL As String = "", _ Optional ByVal HelpContent As String = "", _ Optional ByVal Context As String = "", _ Optional ByVal MessageID As Long = 0 _ ) |
| Value | Description |
|---|---|
| bmt_Short | 5 seconds |
| bmt_Medium | 20 seconds |
| bmt_Long | 50 seconds |
| Value | Description |
|---|---|
| smt_None | Indicates no message was sent to the status bar.
Use this type only to check if a message was sent or to clear a previous message immediately. |
| smt_Warning | Warning message (blue background) |
| smt_Error | Error message (red background) |
| smt_Success | Success message (green background) |
The message type