Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Usercontrol that expands like a Combobox

Status
Not open for further replies.

MarcCama

IS-IT--Management
Mar 14, 2003
62
BR
Hi all,

I developed a control to imput texts in some languages that inherits the characteristics of the System.Windows.Forms.Panel control.

When the control is not in focus, it is like the first image below. But when the focus is on it, it expands like the second image.

panel01.jpg


But, when I put my control in a VB form, the control is cut in the bottom of the windows when expanded, like the image below.

panel02.jpg

What should I do to my control be like a Combobox control, that is expanding on window form, like the image below?

panel03.jpg

Thanks
 
Hi all,

I submitted this question a long time ago but I don't received any reply. This is very important to me.

Who can help me please?

Thanks,
 
have you tried putting in the top layer?

-Sometimes the answer to your question is the hack that works
 
I have a time picker that i found on the web, that the guy uses a form to display results sets back.
If you went to the trouble of getting the panels working you might want to try something like that.

-Sometimes the answer to your question is the hack that works
 
Thank you Qik3Coder,

Excuse me the ignorance, but how?

Thanks,
 
ignore my first post.

Per the second post you would create a form with with hopefully your panel on it, and you would pass parameters to it, to get it setup. (images & text)
then you would need to figure out where to place the form relative to the control.

You would set the form to be borderless.

Search for something called TimePicker on codeproject for some sample code.

-Sometimes the answer to your question is the hack that works
 
Thanks Qik3Coder,

I will try your suggestion and then inform the conclusions in this forum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top