NOTIFYPOPUP: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
m (Add missing bracket)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 16: Line 16:
* All parameters are optional
* All parameters are optional
* Not using any parameters will show a blank notification
* 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
* The notification popup will show where OS notifications are expected / configured by the system




{{PageAvailability}}
{{PageAvailability}}
* '''QB64-PE v3.4 and up'''
* '''QB64-PE v3.4.0 and up'''




Line 32: Line 31:


{{PageSeeAlso}}
{{PageSeeAlso}}
* [https://qb64phoenix.com/forum/showthread.php?tid=2843 Featured in our "Keyword of the Day" series]
* [[_MESSAGEBOX]]
* [[_MESSAGEBOX]]
* [[_MESSAGEBOX (function)]]
* [[_MESSAGEBOX (function)]]
* [[_INPUTBOX$]]
* [[_SELECTFOLDERDIALOG$]]
* [[_SELECTFOLDERDIALOG$]]
* [[_INPUTBOX$]]
* [[_COLORCHOOSERDIALOG]]
* [[_OPENFILEDIALOG$]]
* [[_OPENFILEDIALOG$]]
* [[_SAVEFILEDIALOG$]]
* [[_SAVEFILEDIALOG$]]

Latest revision as of 15:44, 1 July 2024

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
  • 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



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link