Solved

VB.net ComboBox on panel moves

Posted on 2014-11-09
2
192 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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …

679 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