Please enable JavaScript to view this site.

CWT User Interface Design Handbook

AcceptButton

The AcceptButton is a key name that makes the button visible only when it is possible to accept a purchase. A typical case when this is useful is when the selected tariff package has a minimum payment restriction and it is not possible to accept the purchase until the minimum payment amount is reached or exceeded. If the button used to accept the purchase (with Click action “OnAccept”) has the name set to “AcceptButton” the button will be invisible and inactive until the minimum payment restriction in the tariff package is reached and then be visible and active (can be actuated by the customer).

AutoClick

Property 'AutoClick' that, if set to “OnShow” (or “true”), clicks the button when the panel or pop-up is loaded. If set to “OnHide”, clicks the button when the panel or pop-up is hidden.

The property exist for TFT:Button,TFT:PiezoButton and TFT:PreviewButton

BackspaceKey

The BackspaceKey deletes the last character in an input text box.

ClearInputKey

The ClearInputKey deletes all the characters in an input text box.

MinReachedButton

The MinReachedButton is a key name that makes the button visible only when the minimum units or ticks is fullfilled. A typical case when this is useful is when the selected tariff package for StepTime or StepAmount has a minimum payment restriction. The "MinReachedButton" control makes it possible to hide the button before the minimum time/amount are selected.  The “OnPanelOpen” has the name set to MinReachedButton the button will be invisible and inactive until the minimum restriction in the tariff package is reached and then be visible and active.

Example MinReachedButton

<Style BasedOn="{ButtonStyle}" def:Name="MinReachedButtonButtonStyle">
<StyleProperties>
<PropertyStyle Name="MinReachedButton"/>
<PropertyStyle FormattedText="Next"/>
<PropertyStyle Alignment="Center"/>
<PropertyStyle ForeColor="White"/>
<PropertyStyle Font="Chinese, 30pt, style=Bold"/>
</StyleProperties>
</Style>
 
<TFT:Button MxStyle="{MinReachedButtonButtonStyle}" Click="OnPanelOpen" KeyValue="PrePay_Code_Step_StartPanelB

NotMaxButton

The NotMaxButton is hidden when tariff max is reached or exceeded otherwise visible. To create a NotMaxButton, the only requirement is to set the Name property to “NotMaxButton”.

SecondChanceTicketForwardingPhoneNumberButton
SecondChanceTicketForwardingEmailAddressButton

The SecondChanceTicketForwardingPhoneNumberButton and SecondChanceTicketForwardingEmailAddressButton give the customer a second change to send their receipt via SMS or Email. these buttons become visible only if the customer did not select ”SMS” as receipt in the ConfirmTicketPopup.

ZeroPurchaseButton

The ZeroPurchaseButton is visible only when the selected tariff package allows free time to be purchased without any payment (zero ticks purchase). There is also a special label (ZeroPurchaseInstructionLabel) that shall be visible at the same time as the ZeroPurchaseButton to allow the customer to receive a printed free time ticket. This allows the designer of the user interface to add a button that gives the customer a free time ticket when possible according to the tariff package. To create a ZeroPurchaseButton the only requirement is to set the Name property to “ZeroPurchaseButton”. This button is normally added to the display panel visible when the terminal is in idle mode (the actual panel depends on the terminal configuration).