Solved

VB.net ComboBox on panel moves

Posted on 2014-11-09
2
176 Views
Last Modified: 2014-11-14
Hi

I have a ComboBox (shown in the image) that is on a Panel that has
scroll bars. When my TaskPane loads the ComboBox is out of view
but when the user scrolls down it has moved from its original place to
further down the panel. Why might this happen?
0
Comment
Question by:murbro
2 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 40432021
You might have code that changes the Location or Height property of the ComboBox.

There are a few properties on the Panel that can also move the controls on it, such as AutoScrollMargin, Margin and Padding.

I would search for these in the code.

There might be code that insert controls, possibly not visible in a location higher than the ComboBox, which might push it down.
0
 

Author Closing Comment

by:murbro
ID: 40442671
Thanks
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now