Solved

VB.net ComboBox on panel moves

Posted on 2014-11-09
2
197 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Vb.net threads keep increasing 2 59
Generate Unique ID in VB.NET 21 130
VB.net Adding a row to a DataGridView that has a checkbox column 5 58
how to make search between pages 17 59
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

737 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