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