mazwinkel
June 15th, 2000, 06:33 AM
Hello -
Can anybody help me match the heights of my list boxes and text boxes?
I am a form which dynamically loads up a combination of 20 user controls at run time. Each user control is a strip with a label, a checkbox and either a list box or a text box (of varying lengths).
When the various user controls get loaded onto the form -the text boxes have more height than the list box in other user controls. The height of all text boxes is 285 and the height of the list box is 255 - however -I can't change the height property of the list box to 285.
Does anyone know of a way to do this or tell me why I can't- or can you suggest a strategy for making all text boxes and list boxes have an equal height.
Thanks very much.
Mairi
Can anybody help me match the heights of my list boxes and text boxes?
I am a form which dynamically loads up a combination of 20 user controls at run time. Each user control is a strip with a label, a checkbox and either a list box or a text box (of varying lengths).
When the various user controls get loaded onto the form -the text boxes have more height than the list box in other user controls. The height of all text boxes is 285 and the height of the list box is 255 - however -I can't change the height property of the list box to 285.
Does anyone know of a way to do this or tell me why I can't- or can you suggest a strategy for making all text boxes and list boxes have an equal height.
Thanks very much.
Mairi