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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
mcriderCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jayproAuthor Commented:
Thx a bunch...

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


Cheers!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.