Apr 27, 2011, 2:09 PM
[CLOSED] Focus X.Msg.Show
I have an event scheduled for fall catch (Exception ex).
Inside the catch I display a message.
But it is by setting the focus to the textfield.
How?
Inside the catch I display a message.
X.Msg.Show(new MessageBoxConfig
{
Title = "Login",
Message = ex.Message.ToString(),
Buttons = MessageBox.Button.OK,
Icon = MessageBox.Icon.WARNING
});
txtUsuario.Focus();
I set the focus to a specific textfield after displaying the message.But it is by setting the focus to the textfield.
How?
Last edited by Daniil; May 02, 2011 at 10:32 AM.
Reason: [CLOSED]