Show: Delphi C++
Display Preferences

Creating the Application and the LiveBindings

From RAD Studio
Jump to: navigation, search

Go Up to Tutorial: Using LiveBindings in FireMonkey Applications


To begin this tutorial, create a new HD Multi-Device Application. Now you can start adding the required visual components to the newly created blank form.

  1. From the Tool Palette, drag and drop the following controls to your multi-device form:
    LBFMX1.png
  2. Open the LiveBindings Designer from the View menu.

    LBFMX2.png

  3. In the LiveBindings Designer, your binding diagram contains just the objects and you are ready to link them.

    LBFMX3.png

  4. In the Designer, create a binding between the Value property of the progress bar and the Value property of the track bar.

    LBFMX4.png

  5. Do the same for the RotationAngle property of the progress bar, and bind it to the Value property of the arc dial.

At this point, the progress bar is bound to the track bar through their Value properties. This means that whenever you change the position of the slider, the progress indicator increases or decreases accordingly. The progress bar is also bound to the arc dial component through their RotationAngle and Value properties. This means that whenever you change the position of the arc dial, the rotation angle of the progress bar changes accordingly.

LBFMX5.png

Next

See Also

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance