By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,467 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,467 IT Pros & Developers. It's quick & easy.

Dock a listbox...

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.