Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Fire property chane events when key is pressed?
Fire property chane events when key is pressed? [message #1749254] Sun, 04 December 2016 15:21 Go to next message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 189
Registered: November 2014
Senior Member

Hi there,

I'm wondering if there is some kind of property change listener, that gets fired when a key was pressed in a StringField?

Right now the registered property change listener on a StringField gets fired, when the StringField lost the focus.

In my use case, I want to start a query on typing and then populate the table page while the user types his query criteria.

Thanks

Peter

[Updated on: Sun, 04 December 2016 15:22]

Report message to a moderator

Re: Fire property chane events when key is pressed? [message #1749258 is a reply to message #1749254] Sun, 04 December 2016 17:39 Go to previous messageGo to next message
Matthias Otterbach is currently offline Matthias OtterbachFriend
Messages: 17
Registered: August 2015
Location: Munich
Junior Member
Take a look at the methods getConfiguredUpdateDisplayTextOnModify(), setUpdateDisplayTextOnModify(boolean), isUpdateDisplayTextOnModify(). If you set this property to true, the model also gets notified while the user is editing the field.
Re: Fire property chane events when key is pressed? [message #1749274 is a reply to message #1749258] Mon, 05 December 2016 06:11 Go to previous message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 189
Registered: November 2014
Senior Member

perfect thanks!

It works Smile

[Updated on: Wed, 07 December 2016 09:35]

Report message to a moderator

Previous Topic:Changelog for releases
Next Topic:Scout, MySQL and Docker
Goto Forum:
  


Current Time: Tue Sep 19 20:46:24 GMT 2017

Powered by FUDForum. Page generated in 0.05105 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software