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  <20082009  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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: edm (tabs)
From: "Cobb, TM (Tom)" <[email protected]>
To: "Mathew James Hicks" <[email protected]>, "Szalata, Zenon M." <[email protected]>
Cc: EPICS Techtalk <[email protected]>
Date: Thu, 6 Nov 2008 09:02:06 -0000
Hi,

You can use a combination of a choice button with an embedded window and
a local pv in order to get a reasonable effect. I've attached some
example edl files and a screenshot. It probably won't look as good as
Matthew's suggestion, but it is easy to maintain (not so many grouped
and invisible widgets to drag around the screen)

Many thanks,
 
Tom Cobb,
Diamond Light Source Ltd.
Diamond House
Harwell Science and Innovation Campus
Didcot
Oxfordshire
OX11 0DE
United Kingdom
Tel +44 (0) 1235 778582
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Mathew James Hicks
> Sent: 06 November 2008 02:43
> To: Szalata, Zenon M.
> Cc: EPICS Techtalk
> Subject: Re: edm (tabs)
> 
> Zen,
> 
> I did something exactly like this. It is more of a hack then 
> an official way to do this but it works well and looks good.
> 
> First set your message buttons to invisible (not their visible field) 
> Then create two rectangles with different backgrounds, one 
> the color of the depressed tab and the other the color of a 
> non-depressed tab. Set the visibility   of the rectangles to
>    CALC\{A="tabcorrespondingscreename"}(PVNAMEOFEMBEDDED 
> WINDOW) for the other rectangle use
>    !=
> 
> In my tab system I wanted non-square tabs which you can 
> combine several objects and group them and use the groups 
> visibility to do this.
> 
> Place static text with the button name over it with 
> background set to "use display background."
> 
> This will work, but to in order to get the usual highlighted 
> button effect when you scroll over the tab you should group 
> all of these objects together so the black highlight box 
> highlights around the rectangles instead of the invisible button.
> 
> Good luck,
> Mat
> 
> 
> 
> On Wed, 5 Nov 2008, Szalata, Zenon M. wrote:
> 
> > I am trying to figure out how to simulate tabs behavior in 
> an edm screen.  The attached image file shows an example of 
> what I am trying to do.  The file moreCmnds.jpg shows a 
> screen which consists of 5 message buttons and an embedded 
> window.  The buttons communicate with the embedded window via 
> a string type LOC PV.  When one of the buttons is pressed, it 
> passes a file name of an edm display to be shown.  All that 
> works well.  When one of the buttons is pressed, it becomes 
> "active" until another button is pressed (or as long as the 
> edm display it is associated with is showing in the embedded 
> window).  I would like the "active" button to be highlighted, 
> for instance by using a background color different from its 
> "inactive" state.  Any suggestions on how to do that will be 
> most appreciated.
> >
> > Thanks,
> > Zen
> >
> 
> 
> 
> 
> 
<DIV><FONT size="1" color="gray">This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
</FONT></DIV> 

-- 
Scanned by iCritical.

Attachment: edm_screenshot.jpg
Description: edm_screenshot.jpg

Attachment: screen1.edl
Description: screen1.edl

Attachment: screen2.edl
Description: screen2.edl

Attachment: screen-main.edl
Description: screen-main.edl


References:
edm Szalata, Zenon M.
Re: edm (tabs) Mathew James Hicks

Navigate by Date:
Prev: Re: edm (tabs) Mathew James Hicks
Next: Re: IOC to use time from its own processor Dehong Zhang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: edm (tabs) Mathew James Hicks
Next: EPICS positions at Diamond Light Source Heron, M (Mark)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·