Home All Groups Group Topic Archive Search About
Author
13 Mar 2009 10:53 PM
Bee
I see that my toolbar and listbox change size on the form in the IDE from
time to time without my understanding why.
The toolbar seems to get correct when running, but the listbox does not.
I know that the listbox size is in increments of line height.
The list box does not seem to accept a .height properly when running.
I have to fiddle with the listbox height in the IDE and it sometimes will
not stick where I size it heightwise.
What is the secret to these controls?
VB6

Author
16 Mar 2009 9:52 AM
Dave O.
Set the ListBox "IntegralHeight" property to false

Dave O.

Show quoteHide quote
"Bee" <B**@discussions.microsoft.com> wrote in message
news:08BF58F2-3D82-4478-9C66-5F57BBDA8F3E@microsoft.com...
>I see that my toolbar and listbox change size on the form in the IDE from
> time to time without my understanding why.
> The toolbar seems to get correct when running, but the listbox does not.
> I know that the listbox size is in increments of line height.
> The list box does not seem to accept a .height properly when running.
> I have to fiddle with the listbox height in the IDE and it sometimes will
> not stick where I size it heightwise.
> What is the secret to these controls?
> VB6
>