Re: Shut of pixmapbutton focus?

Orlando Andico (orly@gibson.eee.upd.edu.ph)
Wed, 19 Mar 1997 10:00:20 +0800 (GMT)

To subscribers of the xforms list from Orlando Andico <orly@gibson.eee.upd.edu.ph> :

On Tue, 18 Mar 1997, Joe Saland wrote:

> To subscribers of the xforms list from Joe Saland <jrs@aleph.insurgent.com> :
>
>
> Is there a way to turn of this focusing of buttons? I have tried setting
> color1 and color2 to the default background gray, and seting the
> borderwidth to everything from 5 to -5. and still I get a little bit of a
> highlight. Is there a simple attribute I can set to shut this off or
> something?
>

Depends. If you're using pixmapbuttons, I don't think it's possible to get
rid of the highlighting (Tcl does this too and I _hates_ it). But if
you're using ordinary buttons, setting color1 == color2 should do the
trick. It does so for me.

-----------------------------------------------------------------------
Orlando Andico IRC Lab/EE Dept/UP Diliman
email: orly@gibson.eee.upd.edu.ph http://gibson.eee.upd.edu.ph

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/