Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!hacgate!mitchell!saint From: saint@mitchell.hac.com (Kathy Saint) Newsgroups: comp.windows.x.motif Subject: Highlighting text fields upon entering Keywords: text, highlight Message-ID: <12150@hacgate.UUCP> Date: 7 Dec 90 20:38:27 GMT Sender: news@hacgate.UUCP Reply-To: saint@mitchell.hac.com (Kathy Saint) Organization: Hughes Aircraft Company Lines: 13 I have several text fields that I have just set up as tab groups so that the user can use to go from field to field. I'm having problems getting the text in the field just entered to be highlighted(selected). My purpose is to allow the user to directly replace the current text with the next keystroke instead of having to double click the mouse. I've tried using XmTextSetSelection() within an XmNfocusCallback function, but this doesn't work. Any suggestions? Thanks in advance.