AnsweredAssumed Answered

vrf Properties

Question asked by jcmartin on Jun 6, 2001

Simple question, difficult answer,

I am supposing you want to change the colour of 100 objects in a operator
panel, but you do not want to change the colour "by default" of any (present
and future) object like that.

My suggestion is:
a) First of all to do a vee file backup.
b) using the wordpad (for example) or any other editor, open the vee file.
c) searching the name of one of your (I suppose) special object type "SWITCH
1" for example.
d) You will find something like this:

......
(device 0 CONSTANT
(properties
(name "SWITCH 1"))
.....

(CONSTANT is the object type, and it is an example)

then you could note the number of the object. In this case is 0. It is the
number after "device".
e) searching "widget 0". In this case 0 in other the objetc number. Then you
will find something like the next lines:

....
(widget 0 detail
(relativeOrigin 190 200)
(bg "Light Warning Red")
(title on)
(titleBg "Med Dark Yellow")
(borderStyle flat)
(extent 80 29)
.....

Then, you can change (bg "Light Warning Red") by (bg "Colour you wanted") to
modify the object colour. And the same for (titleBg "Med Dark Yellow") for
the colour of the object title.
Objects names are the same than you get when you try to change the colour
using the VEE itself in the colour palette. In any case you can make a test
with 2 or 3 objects.
The same trick can be used for any other characteristic: size, fonts, border
style, etc.
These are the good news. Bad news are that you must to do changes carefully
(due to that I suggested first to have a backup), otherwise you will lost
all your file/work.

regards,


> -----Mensaje original-----
> De: Alden, Daryl [mailto:Daryl.Alden@Edwards.BOC.com]
> Enviado el: martes 5 de junio de 2001 19:22
> Para: vrf@lvld.agilent.com
> Asunto: vrf Properties
>
>
> Simple question hope there is a simple answer.
>
> If I have 100 switches (for example) on the user GUI how can
> I change all of
> their background properties to green without accessing each one
> individually?
>
> Thanks
> ---------------------------------------------------------------------
> This is the "vrf" maillist, managed by Majordomo.  To send messages to
> this maillist, just email to "vrf@lvld.agilent.com". 
> Subscriptions and
> unsubscriptions are done through the address
> "vrf-request@lvld.agilent.com".
> If you need details, just send a message containing the text "help"
> to "vrf-request@lvld.agilent.com".
> ---------------------------------------------------------------------
>
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------

Outcomes