Re: Deselect TextFields
Re: Deselect TextFields
- Subject: Re: Deselect TextFields
- From: j o a r <email@hidden>
- Date: Fri, 4 Apr 2003 12:42:45 +0200
Try to end editing first:
- (void) reallyEndAndDisallowEditing
{
if (![myWindow makeFirstResponder: myWindow])
{
[myWindow endEditingFor: nil];
}
[myTextField setEditable: NO];
[myTextField setSelectable: NO];
}
j o a r
On Friday, Apr 4, 2003, at 12:26 Europe/Stockholm, Lorenzo wrote:
how to deselect the NSTextFields?
The users writes inside a NSTextFields then I call
[theField setEditable:NO];
[theField setSelectable:NO];
but the field borders are still blue,
the text-beam is still blinking and I can write inside the field.
So, how to close the field in order to don't let the user write inside
it
and in order to don't see the borders blue?
_______________________________________________
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.