on 09-01-2010 9:44 AM
Hi all,
for the logic which data of an UI has been changed i look for an event of the UI textedit
... but can't find it. Is there another possibility or technic to find out if there are data changed inside the UI textedit ?
Thanks in advance
--Bernd
There is no onChange in any of the text input type UI elements (only the Threshhold Slider really has an onChange event). The TextEdit has no events. The inputField does have an onEnter event.
For textEdit fields you would need to trigger an event using some other mechanism - a save or check button perhaps. Then you could use the context change log to get the before and after values of the context attribute bound to the textEdit field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No action events are available for TextEdit UI element. One way to find out whether data entered in TextEdit field has changed or not is by using get_context_change_log( ), which returns node, attribute, old value and new value details. We can write this code in MODIFYVIEW or in some action event of Button .
To use the log, first we need to enable the log using enable_context_change_log( ).
Regards,
Manogna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.