Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice!sun-spots-request From: mwg8908@ultb.isc.rit.edu (M.W. Goheen) Newsgroups: comp.sys.sun Subject: Setting cursor (caret) position in panel text item? Keywords: Windows Message-ID: <242@brchh104.bnr.ca> Date: 16 Nov 90 12:05:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 16 Approved: Sun-Spots@rice.edu X-Original-Date: Tue, 30 Oct 90 18:55:51 GMT X-Sun-Spots-Digest: Volume 9, Issue 353, message 12 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu Is there any way to progammatically position the insertion point within a panel text item? It's easy to move the caret (aka insertion point) to other text items via PANEL_CARET_ITEM and panel_{backup,advance}_caret, but I can't find a way to set the caret at, say, the 5th character position. Any ideas? Alternatively, anyone know of a way to support multiline text input items within a panel? I don't want a whole textedit window, just something with three lines that wraps around and nice stuff like that. _____________ / Matt Goheen \____________ | mwg8908@ultb.isc.rit.edu \ | mgohe@wbst845e.xerox.com |