[Mono-osx] [MonoMac] How to get the focus event on a NSTextField?
Nelson Chicas
nelson.g.chicas.g at gmail.com
Tue Mar 8 15:48:55 EST 2011
I was trying to get the right way for manage an NSTextField when it is
clicked, and I have used the activate event, but this event works like a
deactivate (lost focus event) . This is my code:
public override void AwakeFromNib ()
{
auxiliarPasswordTextField.Activated += delegate {
Console.Write("Textfield activated\n");
};
}
The text is printed only when the NSTextField lost the focus, I have done
something wrong? Maybe you can help me!
--
View this message in context: http://mono.1490590.n4.nabble.com/MonoMac-How-to-get-the-focus-event-on-a-NSTextField-tp3342200p3342200.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx
mailing list