osx - How to fake a click on an NSTextField? -
i have nstextfield. i'd programmatically invoke mouse click on it. possible?
i know can make field first responder, i'd know if fake click can used achieve same effect.
if want, can make own mouse event , pass -[nsapplication sendevent:]
.
but, really. use -[nswindow makefirstresponder:]
.
Comments
Post a Comment