Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Strange crash and debug alert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange crash and debug alert



Why do you need to remove a view in response to losing focus?

Larry

Because this edit Unicode text is a temporary input view covering the static control which displays the final edited text. So I need to close and store the text when the user presses Return and when the view looses focus. You were the one who suggested it, remember?




On Apr 3, 2007, at 10:41PM, Laurence Harris wrote:

1. What would be the recommended way of providing this kind of editing functionality. My first idea was to cover the control with a text view of the same size, install the necessary handlers, get the text on return and then copy the text to the control underneath. Anything wrong with this approach?


No problems come to mind, except that you'll need to accept the text any time the text control loses focus, not just when the user types return. And there may be other events that should trigger the end of an editing session as well.




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Strange crash and debug alert (From: Scott Ribe <email@hidden>)
 >Re: Strange crash and debug alert (From: Carlos Eduardo Mello <email@hidden>)
 >Re: Strange crash and debug alert (From: Laurence Harris <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.