Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 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: 213
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 OtterbachFriend
Messages: 55
Registered: August 2015
Location: Munich
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: 213
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:SmartField & ElasticSearch
Next Topic:Changelog for releases
Goto Forum:
  


Current Time: Tue Apr 23 10:51:06 GMT 2024

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

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

Back to the top