UserControl designer bug ?
Hello,
I got an issue with a UserControl i created.
It's easy to reproduce :
- Make a new UserControl
- Graphically drop a textBox and a Button inside of it.
- Save, Compile
- Make a new application
- Drop one of those newly created UserControls on an empty form
- Click on it : It will get selected whatever inner control you click on (either textBox, button or blank space in-between).
- drop a Panel on the form anywhere.
- drag and drop your UserControl inside the Panel (so its Parent changes )
- Click on the Form to De-Select the UserControl
- Click on the UserControl again to Select it :
* If you click on the blank space between button and textbox, it will get selected allright
* If you click on textbox or button, they will act as if in run-time, and UserControl won't get selected (or at least won't show the selection grips).
- Now re-build your project, everything will go back to normal again.
This will work with any control. They will act as if in run-time after parent of the UserControl changes.
Is there any workaround, please ?
Etienne.