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

NSTextField to be selected


  • Subject: NSTextField to be selected
  • From: "Sean Liong" <email@hidden>
  • 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.
  • Prev by Date: Re: Reporting bugs... (Was-- Re: Xcode bug)
  • Next by Date: Re: How to get Mac OS X System preference window from cocoa application
  • Previous by thread: Re: How to switch language (nib)
  • Next by thread: Re: NSTextField to be selected
  • Index(es):
    • Date
    • Thread