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: [EXTERNAL] Assign actions to Combobox items in Phoebus |
From: | "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Peter Leban <peter.leban at i-tech.si> |
Date: | Tue, 21 Jul 2020 12:19:07 +0000 |
> I have a Combobox with items: "Ch1", "Ch2", "Ch3, "Ch4". I'd like to
> assign an action that will open another CSS panel with a macro, specific
> to each item, e.g. CH="Ch1" for item1, CH="Ch2" for item2, etc. It describes how to use a text field to enter some PV name or part of a PV name, which is then used to set the macro for an embedded display.
Similarly, you could use a combo to set a text, then use that text to construct macro values for an embedded display.
Instead of setting the macro values on an embedded display, you could use ScriptUtil.openDisplay to, well, open a display.
-Kay
|