You need to log-in to post in our forum. We encourage your participation but please keep your comments on topic and friendly.

HWS_Header

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.






Pages: [1]
Author Topic: Data Binding in Moxie
DFoster
Administrator
Posts: 61
Permalink
Post Data Binding in Moxie
on: June 29, 2012, 13:30
Quote

Data binding can be used to display the contents of a data cell as content in your layout or it can be used to alter a wide variety of display properties of this content.

Fig 1 - New layout with text zone
Image

Create a new layout and add a "single" text zone on it.
Image

In the Create a data binding dialog box that appears, select Sheet 1, data cell A1. Switch to the Data Manager module and select the same data cell and enter data into it.

Fig 2 - Data binding a property
Image

Switch back to the Layout Designer module and open the Properties dialog box of your text content. An arrow beside a property name in the dialog box indicates that this element's value can be data bound. The orange highlight on a property indicates that the property is currently data bound. This indication also occurs on the main application ribbon.

Click the Size & Position tab in the left pane of the properties dialog box. Click the arrow next to the Top property and select Data bind...
Image

The Create a data binding dialog box appears.
Select a data cell located at Sheet 1, data cell A2.
From Update type, select Animated Update.
In Duration, enter 10.

Fig 3 - View changes
Image

Switch to the Data Manager module and enter 700 as a numerical value into the data cell at Sheet 1, A2.

Return to the Layout Designer module. If you do this fast enough, you will see the text box moving down screen. Do this several times with different number values and observe the changes.

This is very basic Data Binding. It is a simple concept that offers great flexibility when designing your content.

Pages: [1]


Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.033 seconds.

Comments are closed.