473,396 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Dock a listbox...

Hi

When I try to dock a listbox it acts weird when I resize my form.

If I drag the form, making the height increase, the listbox does not follow
it smoothly, the listbox leaves a little gap at the bottom. if I increase
the forms height some more it shows correctly.

Is this a bug in the listbox or what could be wrong?

/Johan
Nov 16 '05 #1
2 2826
Johan,

Set IntegralHeight property of the ListBox to False.

HTH,
Alexander Shirshov

"Johan" <ab*@hotmail.com> wrote in message
news:uZ**************@TK2MSFTNGP14.phx.gbl...
Hi

When I try to dock a listbox it acts weird when I resize my form.

If I drag the form, making the height increase, the listbox does not
follow it smoothly, the listbox leaves a little gap at the bottom. if I
increase the forms height some more it shows correctly.

Is this a bug in the listbox or what could be wrong?

/Johan

Nov 16 '05 #2
Thank you, works lika a charm.

/Johan

"Alexander Shirshov" <al*******@omnitalented.com> wrote in message
news:uD**************@TK2MSFTNGP14.phx.gbl...
Johan,

Set IntegralHeight property of the ListBox to False.

HTH,
Alexander Shirshov

"Johan" <ab*@hotmail.com> wrote in message
news:uZ**************@TK2MSFTNGP14.phx.gbl...
Hi

When I try to dock a listbox it acts weird when I resize my form.

If I drag the form, making the height increase, the listbox does not
follow it smoothly, the listbox leaves a little gap at the bottom. if I
increase the forms height some more it shows correctly.

Is this a bug in the listbox or what could be wrong?

/Johan


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: JohnnyB via DotNetMonster.com | last post by:
Hello, I dont know, if this has already been asked before, I'm sorry if so. VisualBasic: My problem (happens with TreeView, not with AxWebBrowser): treeview uses (no matter, if dock = left,...
2
by: James | last post by:
I have a forms application which has many controls such as buttons,labels,listviews,text boxes etc. If you set the window size to maximum size so that it would expand to the size of the screen the...
2
by: Bill English | last post by:
Does anyone know how to dock a window on the desktop? A good example is AOL Instant Messenger. It has the option to dock on the desktop. When docked, it takes the sizable tool FormBorderStyle. ...
2
by: Agnes | last post by:
I got one progress bar , one panel in my form. First , I put the progress bar at the bottom of the form and set "dock" to bottom. It runs very well. then, I put the panel in the form (set the dock...
0
by: A_PK | last post by:
Hi I got the following environment.......Form1 and inside Form1, got Panel1.... I also got another new Form ...named Form2... Form1, Panel1 Form2 Inside Form1, I click a button to show Form2...
3
by: Dennis | last post by:
I have been trying all evening to add two panels to a form with a horizontal splitter in middle. How can I do this. I have one panel docked to top and one docked to bottom. I have tried all of...
0
by: myPosts | last post by:
Hi all, I am having problem at a time of using datagrid in c#.net. On currentcell change event of datagrid i am displaying one combobox and setting location of combobox depending on location...
7
by: Zytan | last post by:
I just wanted a little practice with the WebBrowser control, so I did the VB guided tour example here in C#: http://msdn2.microsoft.com/en-us/library/a08t4ke7(VS.80).aspx The tutorial asks to put...
12
by: Rotsey | last post by:
Hi, I have not had a good answer to this question. I put a menustrip on a form and so it is a main menu in affect. Now I put a webbrowser control on the form and set it dock fill. Of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.