[SOLVED] Opening a form with ShowDialog() - no control has focus until you click on the window

Answered Closed
0
0
  • Create a simple, sample app with one form
  • Put two text boxes on the form.
  • Run the app.
  • Note that the textbox control with the lowest tab index will be selected when the form is displayed.
  • You can tab between the textbox controls

Modify program.cs, replace window.Show() with window.ShowDialog()

  • Run the app.
  • Note that no control will be selected and you cannot tab until you have clicked somewhere on the window.

(Sample app attached)

Attachment
  • You must to post comments
Best Answer
0
0

Hi Nic,

issue WJ-7368 is fixed in Wisej build 1.2.14.

Best regards
Frank

  • Dmitry
    If you put on the Form some Panel and move these two Texboxes to the Panel – no control will be selected after opening Form.
  • You must to post comments
0
0

Thanks Nic.

I have logged that issues as WJ-7368.

Best regards
Frank

  • You must to post comments
Showing 2 results