Form shows behind the parent form when showing through button #4893
Replies: 2 comments
-
Hi, Any update for this query. Regards, |
Beta Was this translation helpful? Give feedback.
-
This seems to be expected behavior from Windows, if you just toggle visibility you aren't changing the order of forms. You may want to call The reason the initial |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have created the winforms sample. I have set form's visibility as true when mouse pointer enters the button. So the form opens and shown in the toplevel. Now click the button and again hover on the button. The form opens in behind the other form. I felt the reason is focus is in the button. I feel the form which shows while mouse hover should be in toplevel even after click the button.
Run the sample
Hover the button
Form opens in the toplevel
Click the button
Again hover the Button. Now the form will shown behind the parent form.
Sample.zip
Beta Was this translation helpful? Give feedback.
All reactions