Class
MobilePopupMessage
Description
Displays a message for a period of time before automatically disappearing.
Methods
Name |
Parameters |
Returns |
Shared |
---|---|---|---|
message As String, duration As MobilePopupMessage.Durations |
✓ |
Enumerations
MobilePopupMessage.Durations
Durations
Indicates the various lengths of which the message can appear.
Enum |
Description |
---|---|
Short |
The message displays for a very short period of time as defined by the OS. |
Long |
The message displays for a longer period of time as defined by the OS. |
Method descriptions
MobilePopupMessage.Show
Show(message As String, duration As MobilePopupMessage.Durations)
Displays the message for the duration specified before automatically disappearing.
This method is shared.
The example displays the message for a long duration since that is the default duration:
MobilePopupMessage.Show("Your message has been sent.")
The example displays the message for a short duration:
MobilePopupMessage.Show("Your message has been sent.", MobilePopupMessage.Durations.Short)
Sample code
MobilePopupMessage.Show("Your message has been sent.")
Compatibility
Mobile projects on all supported mobile operating systems.
See also
Object parent class; MessageBox method, MobileMessageBox class.