Question / Problem:
MyForm.Show() is being used to display a form withn a VB.NET Validation Script, but the form switches to the Background.
Is there a way to prevent this?
Answer / Solution:
Yes. Displaying a form using the Show method will show the form asynchronously, so Validation or Verification will "steal" the focus from the form for Index Fields on the Index Fields Panel.
It is recommended to use forms in a Modal form to present an appropriate User Interface by calling the form's ShowDialog method instead.