dif behavior calling method from presenter or view

Topics: CAB & Smart Client Software Factory
Aug 16, 2006 at 9:08 AM
originally posted by: sklett

I have a View method that does this:
public void PrepareForNextTest()
{
maskedTextBox_SerialNumber.Clear();
maskedTextBox_SerialNumber.Focus();
maskedTextBox_SerialNumber.SelectAll();
}


When I call it from the View's presenter, it doesn't select the first character in the mask.

If I call it from a button click event on the view, it works correctly.

Weird! Has anyone else had anything like this? Can you guys think of any debugging techniques to possibly find the error?
After the presenter makes the call, nothing else is called.

Thanks for reading,
Steve