Solved

VB.net ComboBox on panel moves

Posted on 2014-11-09
2
200 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

729 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