onDataChange behaviour

Questions, tips and tricks and techniques for scripting in Servoy

onDataChange behaviour

Postby jbrancoIF » Thu Mar 09, 2017 12:18 pm

I searched on the wiki, support system and the forum and I can't find any reference to this problem.

I have a change of behavior to how onDataChange is called between Servoy 5 and 8.1.2 on SmartClient. Don't know if it's a bug or something that was announced (I can't find the announcement).

On a text field, before, the onDataChange was fired when the user ended a field edition and got out of the field. Now, every key type calls the onDataChange. Is this normal? Is there a way to go back to the old behavior?

Thanks in advance
João
InfoForm SA

Servoy 2021.03
jbrancoIF
 
Posts: 68
Joined: Tue Jan 10, 2012 11:29 am

Re: onDataChange behaviour

Postby lwjwillemsen » Thu Mar 09, 2017 3:19 pm

Wow, has that really changed in this manner in Servoy 8?
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: onDataChange behaviour

Postby jcompagner » Mon Mar 13, 2017 10:36 am

that should really not happen. it should still work as before only on focus lost (or enter/action) it should be triggered.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Methods

Who is online

Users browsing this forum: No registered users and 9 guests