Re: Deselect TextFields
Re: Deselect TextFields
- Subject: Re: Deselect TextFields
- From: Lorenzo <email@hidden>
- Date: Fri, 04 Apr 2003 13:02:14 +0200
Hi,
THANK YOU. It works.
I used only
[myWindow endEditingFor: nil];
[myTextField setEditable: NO];
[myTextField setSelectable: NO];
And I don't understand this line
if (![myWindow makeFirstResponder: myWindow])
Anyway, thank you so much.
Best Regards
--
Lorenzo Puleo
email: email@hidden
>
From: j o a r <email@hidden>
>
Date: Fri, 4 Apr 2003 12:42:45 +0200
>
To: Lorenzo <email@hidden>
>
Cc: <email@hidden>
>
Subject: Re: Deselect TextFields
>
>
Try to end editing first:
>
>
- (void) reallyEndAndDisallowEditing
>
{
>
if (![myWindow makeFirstResponder: myWindow])
>
{
>
[myWindow endEditingFor: nil];
>
}
>
>
[myTextField setEditable: NO];
>
[myTextField setSelectable: NO];
>
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.