• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Newbie: NSTextField cursor not blinking...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie: NSTextField cursor not blinking...


  • Subject: Newbie: NSTextField cursor not blinking...
  • From: "John Cebasek" <email@hidden>
  • Date: Thu, 22 Sep 2005 15:37:12 -0400

Hi All:

I'm having some problems in the following situation. I've got a tabbed dialog that has a couple of NSTextFields on it. When the user clicks on a tab, I want to set the keyboard focus to the default field.

The default field has the focus, but the cursor doesn't blink like it should. If I click in the field, the cursor starts blinking.

I use the following code:

    [loginWindow makeFirstResponder:nameField];
    [nameField setEnabled:YES];
    [nameField performClick:nil];
    [nameField setNeedsDisplay];

Any idea on what I'm doing wrong?

John
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: NSOpenPanel: showing invisible files
  • Next by Date: Source lists
  • Previous by thread: NSOpenPanel: showing invisible files
  • Next by thread: Source lists
  • Index(es):
    • Date
    • Thread