HighTechTalks DotNet Forums  

HitTest bugs after parent changes ?

Dotnet Framework (WinForms DesignTime) microsoft.public.dotnet.framework.windowsforms.designtime


Discuss HitTest bugs after parent changes ? in the Dotnet Framework (WinForms DesignTime) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Etienne
 
Posts: n/a

Default HitTest bugs after parent changes ? - 12-13-2004 , 11:06 AM






Hi

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 !


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.