Exercises

<< Click to Display Table of Contents >>

 

Exercises

In this exercise, let's develop an XControl to display a temperature value and a tank level. There are two Displays, one for level and another one for temperature. The temperature Display must be formatted as one decimal place and with suffix "° C", and its background color changes according to its temperature. The level must be shown on a Display with one decimal place and with suffix "%", by filling the foreground color of a rectangle.

Was this page useful?