EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  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  <20182019  2020  2021  2022  2023  2024 
<== 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
Sent: Wednesday, May 09, 2018 9:08 PM
To: [email protected]
Subject: CSS Boy Text Input widget perform Action after value change

 

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

 

 


Replies:
Re: CSS Boy Text Input widget perform Action after value change Luca Cavalli
References:
CSS Boy Text Input widget perform Action after value change Gregory, Ray

Navigate by Date:
Prev: Smaract MCS2 Motor Record Lentz, Zachary L
Next: Re: CSS Boy Text Input widget perform Action after value change Luca Cavalli
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CSS Boy Text Input widget perform Action after value change Gregory, Ray
Next: Re: CSS Boy Text Input widget perform Action after value change Luca Cavalli
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 10 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·