Oct 12, 2013, 9:42 AM
[OPEN] [#426] X.MessageBox.Show( .. ) doesn't get focus after DirectEvent
I have a TextBox that has focus. A DirectEvent is called which contains the following code:
Interestingly, ENTER still closes the modal.
X.MessageBox.Show( new MessageBoxConfig() {
Title = "Failure",
Message = "Failed.",
Buttons = MessageBox.Button.OK,
Modal=true
} );
TextBox1.Focus();
The MessgeBox appears and though the modal greys the page and emphasis moves to the MessageBox, text input still goes to the original TextBox. Pressing space should be enough to close the MessageBox, but the space types into the original TextBox where focus was before instead.Interestingly, ENTER still closes the modal.
Last edited by Daniil; Feb 03, 2014 at 5:28 AM.
Reason: [OPEN] [#426]