HitTest bugs after parent changes ? - 12-13-2004 , 11:06 AM
I can't have this simple test working :
Make a new UserControl.
Put a TextBox and a Label in it.
Save, Build, and load it in the Toolbox.
Drop one on a new Windows Form.
Click anywhere on the usercontrol (i.e. the textbox, the label or the
blank space between) and it will get selected.
Now drop a simple panel on the Form. Drag and Drop your UserControl
inside the panel.
De-Select your UserControl (click on Form or Panel).
The try to Re-Select your UserControl.
- either you click on the blank space between the textbox and the label
and it will get selected normally.
- OR, and that's my problem, you click on the textBox or the Label and
your UserControl won't get selected, but instead, you can type in text
as if textBox was in run-time...
Is there any workaround please ?
Thank you !
|Thread Tools||Search this Thread|