Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!bloom-beacon!eru!luth!sunic!mcsun!ukc!harrier.ukc.ac.uk!rlh2 From: rlh2@ukc.ac.uk (Richard Hesketh) Newsgroups: comp.windows.x Subject: Re: Problems on changing borderWidth in Athena text widget & using accelerators focusing input Message-ID: <5029@harrier.ukc.ac.uk> Date: 3 Jul 90 07:51:47 GMT References: <9007021835.AA06703@mn.ecn.purdue.edu> Reply-To: rlh2@ukc.ac.uk (Richard Hesketh) Organization: Computing Lab, University of Kent at Canterbury, UK. Lines: 13 Summary: Expires: Sender: Followup-To: In article <9007021835.AA06703@mn.ecn.purdue.edu> tongz@MN.ECN.PURDUE.EDU (Tong Zheng) writes: > I am writing a program using Athena Text Widget running >with X11R4 on a SUN 4. I creat a text input window >using asciiTextWidget with type "string", and like to >have the borderwidth changed whenever the cursor moves >in/out the window. The border width is part of the geometry of a widget and as such it is up to the parent's geometry manager to allow any changes made to it. Instead of changing the border width why not change the *border colour*? Changing the border colour between the text widgets background and foreground works for me and looks good. Also changing the border width even with the parents approval will cause the widget to move on the screen a bit.