| SetText Method | |
| See Also |
- Text
- The message text
- Seconds
- The message duration, indicating how long the message is displayed
- Type
The message type
Displays a message in the status bar.
| Visual Basic |
|---|
Public Sub SetText( _
ByVal Text As String, _
Optional ByVal Seconds As BoMessageTime = bmt_Medium, _
Optional ByVal Type As BoStatusBarMessageType = smt_Error _
) |
- 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
For standards and guidelines about creating messages, see the SAP Business One User Interface Standards and Guidelines.