bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #6091] NSSearchField looks and acts like an NSTextField


From: Quentin Mathé
Subject: [task #6091] NSSearchField looks and acts like an NSTextField
Date: Sun, 12 Nov 2006 09:38:47 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060921 Ubuntu/dapper-security Firefox/1.5.0.7

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]