NOTIFYPOPUP: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
m (Add _COLORCHOOSERDIALOG) |
No edit summary |
||
Line 21: | Line 21: | ||
{{PageAvailability}} | {{PageAvailability}} | ||
* '''QB64-PE v3.4 and up''' | * '''QB64-PE v3.4.0 and up''' | ||
Revision as of 23:56, 10 January 2023
The _NOTIFYPOPUP statement shows a system notification.
Syntax
- _NOTIFYPOPUP [title$][, message$][, iconType$]
Parameters
- title$ is the notification title (usually appears above message and in bold)
- message$ is the notification message
- iconType$ is the notification icon type (this can be "info", "warning", or "error")
Description
- All parameters are optional
- Not using any parameters will show a blank notification
- "info", "warning", or "error" when used are expected to be in lower case
- The notification popup will show where OS notifications are expected / configured by the system
Availability
- QB64-PE v3.4.0 and up
Examples
- Example
- Show a system notification after completing a lengthy task
_NOTIFYPOPUP "My Cool App", "Conversion complete!", "info" |
See also
- _MESSAGEBOX
- _MESSAGEBOX (function)
- _INPUTBOX$
- _SELECTFOLDERDIALOG$
- _COLORCHOOSERDIALOG
- _OPENFILEDIALOG$
- _SAVEFILEDIALOG$