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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: CSS BOY enum local PV |
From: | "Kasemir, Kay" <[email protected]> |
To: | "Gregory, Ray" <[email protected]>, "[email protected]" <[email protected]> |
Date: | Thu, 26 Apr 2018 17:40:03 +0000 |
> Is it possible to create a local enum PV in CSS that can be used as the PV for a Combo widget that also gets its items from the PV? Yes:
loc://demo<VEnum>(2, "A", "B", "C", "D")
You have to provide the data type <VEnum> to get an enum. The initializer needs to contain the initial index value, followed by the enum labels.
-Kay |