Please enable JavaScript to view this site.

CWT User Interface Design Handbook

Labels that depict the amount of time or available time can be formatted to display the period.

The presentation can be grouped in days, hours and minutes, days and hours, hours and minutes, days, hours and minutes. The FormattingInfo property on the Label defines how the available time shall be presented.

Allowed combinations:

FormattingInfo

Description

“dd HH mm”

Available time grouped on days, hours and minutes

“dd HH”

Available time grouped on days and hours

“HH mm”

Available time grouped on hours and minutes

“dd”

Available time presented in days

“HH”

Available time presented in hours

“mm”

Available time presented in minutes

 

Supported labels

AccessControlAntiPassBackRemainingTimeLabel

LeftToPurchaseTimeTariffLabel

PersonalAccountAvailablePurchaseTimeLabel

PurchasedTimeExcludingFreeIntervalsLabel

PurchasedTimeLabel

RemainingFreeTimeLabel

RemainingTimeLabel

RoundUpTimeLabel

TotalPurchasedTimeTariffLabel

UntilMaxOrBlockedLabel

UntilMaxOrBlockedWithoutFreeUnitsInBeginingOfIntervalLabel

ZeroPurchaseInstructionLabel

 

Example displaying the available time on a personal account

<TFT:Label Name='PersonalAccountAvailablePurchaseTimeLabel'
    Size='400,40'
    Location='120,195'
    Font='Microsoft Sans Serif, 20pt, style=Bold'
    FormattedText='Time left: @S'
    Alignment='Center'
    FormattingInfo='HH mm'
    Transparent='true'/>

Example displaying the remaining time on a personal account

<TFT:Label Name=' PersonalAccountUsageRemainingLabel'
    Size='350,30'
    Location='360,250'
    Font='Arial, 18pt, style=Bold'
    FormattedText='@S'
    Alignment='Near'/>