Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

UserControl.ActiveControl is getting cleared

$
0
0

When I switch between forms, the ActiveControl is getting cleared & so losing focus.
UserControl is handling things to set ActiveControl updated.

When I switch to other Form, the Form many not be active. But why should inactive forms ActiveControl get cleared?

When I switch back to the inactive form, first UserControl is becoming active rather than, original ActiveControl just before switching the form.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>