| SetSystemMessage Method | |
| See Also |
- Text
- The message text
- Seconds
- The message duration, indicating how long the message is displayed
- Type
The message type
- HelpURL
- The hyperlink of the help document
- HelpContent
- The help content for the message
- Context
- The context of the message
- MessageID
- The ID of the system message
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 _
) |
- Text
- The message text
- Seconds
The message duration, indicating how long the message is displayedValue Description bmt_Short 5 seconds bmt_Medium 20 seconds bmt_Long 50 seconds - Type
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
- HelpURL
- The hyperlink of the help document
- HelpContent
- The help content for the message
- Context
- The context of the message
- MessageID
- The ID of the system message