setTileHasCount method: Tile class
Syntax
setTileHasCount(badge_display)
Description
Invoke the setTileHasCount method within your implementation only if you wish to dynamically override whether the badge area is enabled (that is, whether badge data is displayed). Invoking this method is equivalent to setting the hasLiveDataCount property. If the badge is enabled, you must also set the badge data with the TileTransCount property.
Parameters
| Parameter | Description |
|---|---|
|
badge_display |
Specify a String value:
|
Returns
None.
Example
%This.setTileHasCount("Y"); /* Enables the badge area. */
%This.TileTransCount = MY_REC.COUNT;