Re: [foxboro] AW: Foxview Menu Bar and Drop down lists

the lines=20
Olitsampler*XmCascadeButton*FontList:
-adobe-helvetica-bold-r-*-*-*-240-*-*-*-*-*-*

Olitsampler*XmMenuShell*FontList:
-adobe-helvetica-bold-r-*-*-*-240-*-*-*-*-*-*

should change the font.  Again thes do not take affect until the actions
described below are used.  The above lines are using a helvetica font.
you can use tools in the /usr/openwin/bin directory to preview fonts
xfontsel is a tol that will show you the font and the string that
defines it (ie -adobe-helvetica-bold-r-*-*-*-240-*-*-*-*-*-*).  I hope
this answers the question.

Joe

-----Original Message-----
From: Schweda, Alfons [mailto:Alfons.Schweda@xxxxxxxxx]
Sent: Thursday, December 06, 2001 2:01 AM
To: 'foxboro@xxxxxxxxxxxxx'
Subject: [foxboro] AW: Foxview Menu Bar and Drop down lists



Glen,
this modification for the menuebar works fine.
But do you (or anyone else) have an idea to change the font in the =3D
display
bar too?

Thanx
Alfons Schweda
PLT1/PLS
Tel.:02133-55-7457
BP K=3DF6ln-Worringen
<mailto:alfons.schweda@xxxxxx>


-----Urspr=3DFCngliche Nachricht-----
Von: Glen Bounds [mailto:gbounds@xxxxxxxxxxxxx]
Gesendet: Dienstag, 27. November 2001 17:07
An: foxboro@xxxxxxxxxxxxx
Betreff: Re: [foxboro] Foxview Menu Bar and Drop down lists



Reprint from Joe!

There should be a file .Xdefaults in the root directory.

/.Xdefaults

vi this file and add the following two line at the bottom:

Olitsampler*XmCascadeButton*FontList:
-adobe-helvetica-bold-r-*-*-*-240-*-*-*-*-*-*

Olitsampler*XmMenuShell*FontList:
-adobe-helvetica-bold-r-*-*-*-240-*-*-*-*-*-*

if you want this to take effect imediatly do the following

/usr/openwin/bin/xrdb -merge /.Xdefaults

then restart the Foxview session. By adding this to .Xdefaults they =3D
will get
loaded in the next time the box is rebooted automatically.

the .Xdefaults file is per user and is located in the users home =3D
directory,
so if you want the "ia" user to have the same copy or edit the file in
/opt/ia (the "ia" users home directory.

if you do not like the font you can make modifications to the Font =3D
defined
in the two lines above
 You might be wondering about that "Olitsampler" part of the resource. =
=3D
If
you use xprop and select Foxview you will see it as one of the
"WM_CLASS(STRING)" names.  This will affect all foxview's sessions.  if
=3D
you
want you can change it form Olitsampler to default_dm and it will only
effect the default session.  I think you get the idea.  the second =3D
question
you might have is why do I have two resources?  The first =3D
XmCascadeButton is
the menu across the top and the second XmMenuShell is the drop downs.  =
=3D
Now
you can have lots of fun changing the font colors and styles for =3D
Foxview.  I
figured this out by using the X Windows System's Users Guide "Motif =3D
edition"
and looking through the widget resource stuff.  So if you want to do =3D
more
customization I would start there.

Joe


----- Original Message -----
From: "RAYMUNDO MENDEZ" <mendezrw@xxxxxxxxx>
To: <foxboro@xxxxxxxxxxxxx>
Sent: Tuesday, November 27, 2001 11:03 AM
Subject: [foxboro] Foxview Menu Bar and Drop down lists


>
>
> Hi, list. Do you have any idea how to change fonts and/or fonts size =
=3D
in=3D3D
>  the
> Foxview Menu Bar and the Drop Down lists?. We are using Foxview =3D
Version=3D3D
>
> 99.2.1.
>
> Thanks in advance and regards
>
> Raymundo M=3D3DE9ndez
> PDVSA Manufactura y Mercadeo
> Refiner=3D3DEDa El Palito
> Zona Postal 2023A
> Apartado Postal 102
> Departamento de Automatizaci=3D3DF3n Industrial
> Equipo de MCP
>
> Tel=3D3DE9fono:           58-242-3603518
> Fax:                58-242-3604766
> E-mail:        mendezrw@xxxxxxxxx=3D3D



=3D20
=3D20
___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist

list info:   http://www.freelists.org/list/foxboro
subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3Djoin
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3Dleave
=20
=20
___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist

list info:   http://www.freelists.org/list/foxboro
subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
 
 
___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist

list info:   http://www.freelists.org/list/foxboro
subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave

Other related posts: