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: Luca Cavalli <[email protected]>
To: "Gregory, Ray" <[email protected]>, "[email protected]" <[email protected]>, Abdalla Ahmad <[email protected]>
Date: Thu, 10 May 2018 05:29:32 +0000
Hi,

you can even add a local string PV to the text widget and trigger a script on PV change.

Ciao,

Luca


Da: Abdalla  Ahmad
Inviato: giovedì 10 maggio, 07:16
Oggetto: RE: CSS Boy Text Input widget perform Action after value change
A: Gregory, Ray, [email protected]


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
 
 


 



<< Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione. Quanto precede ai fini del rispetto delle Legge 675/96 e del Decreto Legislativo 30/06/2003 n.196, sulla tutela dei dati personali >>

<< This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Please contact our IT Helpdesk on +3902380481 or email [email protected] if you need assistance >>
 


References:
CSS Boy Text Input widget perform Action after value change Gregory, Ray
RE: CSS Boy Text Input widget perform Action after value change Abdalla Ahmad

Navigate by Date:
Prev: RE: CSS Boy Text Input widget perform Action after value change Abdalla Ahmad
Next: RE: Keithley 2634B Source Meter [email protected]
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: RE: CSS Boy Text Input widget perform Action after value change Abdalla Ahmad
Next: Smaract MCS2 Motor Record Lentz, Zachary L
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 ·