Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool2.mu.edu!sdd.hp.com!samsung!noose.ecn.purdue.edu!news From: moyman@ecn.purdue.edu Newsgroups: comp.sys.mac.programmer Subject: LSC cdev, weird EditText behaviour Message-ID: <1991Jan18.215637.14499@noose.ecn.purdue.edu> Date: 18 Jan 91 21:56:37 GMT Sender: news@noose.ecn.purdue.edu (USENET news) Reply-To: moyman@ecn.purdue.edu Organization: Engineering Computer Network Lines: 25 This is really weird, I have several EditText items in a cdev. Everything seems to be working fine except the cursor will not "insert" (from the mouse...to edit the item) itself before or after the first character and before the second character of whatever text is inside the box. I can insert after the second character only. It does not make sense. Anybody have an idea of what is wrong. One other problem I have is saving what is in those EdityText items when the cdev is closed. Currently I have a "Save Settings" button that saves everything (that works fine). What I want is for everything to be saved when the cdev is closed. It seems that the cdev dialog pointer is gone when it gets to my close routine. should I be listening for something other than a close message to save settings?? I don't think it's the code since it works fine when it is executed from a "button". It just doesn't work from inside my close routine. void myCDEV::Close() { ...etc...my code to read my EditTest items... } I am using the LSC OOP. Mike Moya Engineering Computer Network Purdue University