1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 <2018> 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 <2018> 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: CSS Boy Text Input widget perform Action after value change |
From: | "Abdalla Ahmad" <[email protected]> |
To: | "Gregory, Ray" <[email protected]>, "[email protected]" <[email protected]> |
Date: | Thu, 10 May 2018 05:13:16 +0000 |
The only widget action supported in CSS is the mouse click. If you want to process the text in the text input, use a button and a script as the action. You can do something like this python script text_input = display.getWidget('Widget name goes here') text = text_input.getValue() # or text_input.getPropertyValue('text') And then you can process the text as you want. Best Regards, Abdalla. From: [email protected] [mailto:[email protected]]
On Behalf Of Gregory, Ray In a CSS Boy OPI I have a Text Input widget, and I would like to trigger an action whenever the user changes the value/presses the enter button. Just adding the desired Action to the Behavior does not appear to trigger the action when the
user presses Enter. Can you please tell me what I am missing? Thank you, --Ray |