|Mar 25, 2009, 05:39 AM||#1|
Which delegate method I should use when I clicked a textfield?
When I clicked on the textfield,I want to open a panel. I think that I should use a delegate method to respond the clicked event. I found that the method - (void)textDidBeginEditingNSNotification *)aNotification not work , and then the method - (void)controlTextDidBeginEditingNSNotification *)aNotification worked ,but I found this method worked when I edited the textfield not to cliked it ,why? and that when I edited the textfield again ,This method not to work ,why?
|Mar 26, 2009, 01:00 AM||#4|
Edit: Typically, it's a bad idea to alter the default behaviors of standard UI elements. Users expect things to happen in a certain way when they interact with the GUI. Violating those expectations can lead to confusion and possibly even concern that your app is broken/bugged. In other words, you might want to re-think your design decisions a bit to see if this is the best implementation.
Last edited by GorillaPaws; Mar 26, 2009 at 01:13 AM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Change which email address is used when Safari link is clicked||roxyz||OS X||0||Nov 10, 2011 05:21 PM|
|What method is called when double click launch an App||petron||Mac Programming||10||Oct 17, 2009 05:59 PM|
|nstableview delegate method is not getting called||hrishidev||Mac Programming||1||Nov 24, 2008 06:19 AM|
|Complete Noob question regarding NSTextField and delegate methods||Sidespin||Mac Programming||10||Jul 17, 2008 10:22 PM|
|Panel & Delegate methods of its controls||satyam90||Mac Programming||4||Apr 1, 2008 11:45 PM|
All times are GMT -5. The time now is 02:07 PM.