If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
List Boxes
Does anyone know how to make a list box expand to fit the criteria? I am
selecting a variable first, and depending on what is selected depends on whether 1 item or 100 items will display in the list box?? |
#2
|
|||
|
|||
List Boxes
I assume you want the height of the list box control to grow to display all
items in the list box. If so, I think you can use the ListCount like: Me.List0.Height = Me.List0.ListCount * 215 -- Duane Hookom Microsoft Access MVP "Steve" wrote: Does anyone know how to make a list box expand to fit the criteria? I am selecting a variable first, and depending on what is selected depends on whether 1 item or 100 items will display in the list box?? |
#3
|
|||
|
|||
List Boxes
I will try this....THANKS
"Duane Hookom" wrote: I assume you want the height of the list box control to grow to display all items in the list box. If so, I think you can use the ListCount like: Me.List0.Height = Me.List0.ListCount * 215 -- Duane Hookom Microsoft Access MVP "Steve" wrote: Does anyone know how to make a list box expand to fit the criteria? I am selecting a variable first, and depending on what is selected depends on whether 1 item or 100 items will display in the list box?? |
Thread Tools | |
Display Modes | |
|
|