User Control Behavior

Hi all,

I have a user control that simulates the combobox
(uses textbox/listbox/command button).  
(Done because the combobox will not do 2D/flat :(   )

The problem is when the control is near the bottom of its container.  Is it possible to simulate the combobox style, crossing borders (i.e. forms/frames/etc...)
Therefore, when you drop the usercontrol down (like a combo) it doesn't stay within the confines of the form or frame but rises to the front of the screen.

Thx...

(Not the greatest of explainations, but...hopefully it gets my point across)
jayproAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
mcriderConnect With a Mentor Commented:
You can do this by adding a form to your user control and using it to simulate a dropdown box...

The form would have no borders and would get it's location from figuring out where your usercontrol is on the original form...  You can do this by finding the parent control and figuring the X/Y location...


Hope this helps!


Cheers!
0
 
JShepherdCommented:
Not sure I completely follow, but are you asking that when you add the usercontrol to a form, that it not be contained within another object?
0
 
jayproAuthor Commented:
Thx a bunch...

:)
0
 
mcriderCommented:
Thanks for the points! Glad I could help!


Cheers!
0
All Courses

From novice to tech pro — start learning today.