onDataChange different behaviour Windows / Apple

Questions, tips and tricks and techniques for scripting in Servoy

onDataChange different behaviour Windows / Apple

Postby Harjo » Fri May 08, 2009 11:11 am

Hi,

I noticed a weird difference between Windows & Apple.
I have a global searchfield, with an onDataChange method that fires the searchmethod.

on Windows you can hit Enter after you type in the search (what most people do) or hit TAB key.
both ways the search method is fired.

on Apple (Leopard, Java 1.5) only the TAB key is working and not the Enter key.. :-(

I rather not use both the onAction and onDataChange, because than everything is fired twice.
This is in Servoy 3.5.9, btw
Anyone else having this problem?
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: onDataChange different behaviour Windows / Apple

Postby ngervasi » Fri May 08, 2009 12:08 pm

I can confirm that in MacOS 10.5 and Servoy 4.1.2 only the TAB will trigger the onDataChange, not sure about Windows tough.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy


Return to Methods

Who is online

Users browsing this forum: No registered users and 39 guests