Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ifi!pers From: pers@ifi.uio.no (Per Siljubergs}sen) Newsgroups: comp.sys.mac.programmer Subject: TEDeactivate won't remove the caret? Message-ID: <1991Apr24.011611.662@ifi.uio.no> Date: 24 Apr 91 01:16:11 GMT Organization: University of Oslo, Norway Lines: 20 Nntp-Posting-Host: gille.ifi.uio.no Originator: pers@gille.ifi.uio.no I have different TextEdit fields in a window. Only a single field should get the user's attention at any one time. So, when the user types a tab my applcation calls TEDeactivate for the last used TextEdit field and TEActivate for the next field. But a non-blinking caret is still visible in the first field. Often this frozen caret appeares when the window is in the background too. The application calls TEActivate, TEDeactivate and TEIdle as suggested in IM I, I believe. I think TextEdit inverts the caret within TEIdle, and I there are indications that TE thinks the caret is visible when it's invisible and invisible when it's visible.. What's really the problem here? How do I get rid of the caret? -- Per Siljubergsaasen (pers@ifi.uio.no)