StaticStepButtons are the same as StepButtons in terms of dynamic mapping of step
values from cwtconfig.xml.
StaticStepButtons will be Disabled or Invisible when not functional, i.e. its step is not
possible to make. For instance, at max a positive step button will be Disabled or Invisible.
Attributes
additional attributes for the StatisStepButtons
See TFT:Button in the CWT User Interface Design Handbook for the other attributes. |
DisableImage
Description: | Name of the image to use when the button is disabled. e.g., DisableImage="\Storage Card\Media\pictures\button_disable.png" |
DisableForeColor
Description: | The colour to use for the button text when the button is disabled |
Name
Value: | StaticStepButton1, StaticStepButton2, StaticStepButton3 and StaticStepButton4 |
NotFunctionalAction
Value: | Disabled or Invisible when not functional. |
Default: | Disabled. |
Description: | Controls if the button should be Disabled or invisible. When Disabled, another image is shown and the button is not clickable. When Disabled, another image is shown and the button is not clickable. The image is defined by attribute DisableImage. The font colour is also changed and is defined by attribute DisableForeColor. |
Static prefix
The prefix Static relates to “StaticPaymentService”, “StaticArticle”, and “StaticTariffPackage” buttons with similar functionality.
These buttons are documented in the CWT User Interface Design Handbook |
Example:
The button will be invisible when not functional, i.e. its step is not possible to make
<TFT:Button Name="StaticStepButton1" KeyValue="100" Click="OnStep" NotFunctionalAction="Invisible" ClickImage="\Storage Card\Media\pictures\button.png"/>
The button will change image and not be clickable when not functional, i.e. its step is not possible to make
<TFT:Button Name="StaticStepButton2" KeyValue="-100" Click="OnStep" NotFunctionalAction="Disable" ClickImage="\Storage Card\Media\pictures\button.png" DisableImage="\Storage Card\Media\pictures\button_disable.png"/>