Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
7.4
7.5
8.0
8.1
8.2
8.3
8.4
8.5
9.0
9.1
Statistic
App.SetDockBadgeLabel
Sets the string to be displayed in the tile's badging area.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
App | 2.6 | Yes | No | No | No | Yes |
MBS( "App.SetDockBadgeLabel"; text ) More
(old name: AppDockTile.setBadgeLabel)
Parameters
Parameter | Description | Example value |
---|---|---|
text | The localized string to display. This string can contain a count value or other badging information. To clear the badge string, specify an empty string "". | "123" |
Result
Returns OK on success.
Description
Sets the string to be displayed in the tile's badging area.The appearance of the badge area is system defined.
Available in Mac OS X v10.5 and later.
iOS added in 7.2, but the badge is a number.
Examples
Set and query dock badge:
Set Variable [$r; Value:MBS( "App.SetDockBadgeLabel"; "123" )]
Show Custom Dialog [MBS( "App.GetDockBadgeLabel" )]
See also
Blog Entries
Created 18th August 2014, last changed 15th April 2017
App.RequestUserAttention - App.SetDockIcon
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins