URL:
<http://savannah.gnu.org/task/?6091>
Summary: NSSearchField looks and acts like an NSTextField
Project: GNUstep
Submitted by: qmathe
Submitted on: Sunday 11/12/2006 at 09:38
Category: AppKit
Should Start On: Sunday 11/12/2006 at 00:00
Should be Finished on: Sunday 11/12/2006 at 00:00
Priority: 1 - Later
Status: None
Privacy: Public
Assigned to: None
Percent Complete: 0%
Open/Closed: Open
Effort: 0.00
_______________________________________________________
Details:
If I create a search field with the given code, I just get a normal
NSTextField displayed and the action message isn't sent on each key stroke as
it should but only when 'return' key is pressed.
id searchField = [[NSSearchField alloc] initWithFrame: NSMakeRect(0, 0, 150,
22)];
[[searchField cell] setSendsWholeSearchString: NO];
[searchField setTarget: self];
[searchField setAction: @selector(searchTextDidChange:)];
[[window contentView] addSubview: searchField];
Did I misconfigure something or not?
Thanks,
Quentin.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/task/?6091>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep