|
| Re: Binding text on button [message #810369 is a reply to message #786417] |
Wed, 29 February 2012 21:37  |
Patrik Dufresne Messages: 10 Registered: July 2009 |
Junior Member |
|
|
Either I don't understand your question or your question is too simple.
If you want to bind the text property of a button, you may proceed as follow:
Text text;
[...]
WritableValue observable = new WritableValue();
observable.setValue("the text value");
dbc.bindValue(WidgetProperties.text().observe(text), observable);
|
|
|
Powered by
FUDForum. Page generated in 0.01410 seconds