Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

App.SetDockBadgeLabel

Sets the string to be displayed in the tile's badging area.

Component: App
Version: 2.6
Mac OS X: Yes
Windows: No
Server: No
FileMaker Cloud: No

MBS( "App.SetDockBadgeLabel"; text )

(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


App.RequestUserAttention   -   App.SetDockIcon

Feedback: Report problem or ask question.




Links
MBS Real Studio Chart Plugins - Pfarrgemeinde Messdiener Nickenich