• 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
Re: NSTextField to be selected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField to be selected


  • Subject: Re: NSTextField to be selected
  • From: "Sean Liong" <email@hidden>
  • Date: Thu, 30 Oct 2003 07:29:15 +0000

Any hints or advices from all the experts for the below questions?

From: "Sean Liong" <email@hidden>
To: email@hidden
Subject: NSTextField to be selected
Date: Tue, 28 Oct 2003 19:35:26 +0000

Hi,

I did make a mistake in the previous email, that's why no response. It is NSTextField instead of NSTextBox.. sorry for the confusion...

So the problem is as follow...

In the application, there is a method where a NSWindowB will be called and act like a NSSheet which will drop down from NSWindowA. There is an NSTextField in the NSWindowB and there is also an NSTextField in the NSWindowA.

1) How will I caused the NSTextField of the NSWindowB to be selected (highlited)
when it drop down from the NSWindowA?

2) When the NSWindowB end, how will I cause the NSTextField of the NSWindowA to be
selected (highlited).

I have tried seletText: , makeFirstResponder: but can't achieve the result.
Is there any other approriate APIs or work around?

Thanks & regards,
sean

_________________________________________________________________
Using a handphone prepaid card? Reload your credit online! http://www.msn.com.my/reloadredir/default.asp
_______________________________________________
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.

_________________________________________________________________
Are you in love? Find a date on MSN Personals http://match.msn.com.my/
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTextField to be selected
      • From: j o a r <email@hidden>
  • Prev by Date: Re: NSSecureTextField
  • Next by Date: Re: Sample code for a Finder hack - "haxies"
  • Previous by thread: NSTextField to be selected
  • Next by thread: Re: NSTextField to be selected
  • Index(es):
    • Date
    • Thread