NSTextField to be selected
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.