I know this is probably just something simple I'm not getting but it's still a pain. I'm trying to resize several controls in a window a listbox and a filelistbox I also have several buttons a drivethingy and a folder thing that I want to stay the same size.

I'm using the form_resize() function but I don't understand the numbers quite well.

basically the form looks like this

_____________________________________
| |
| List1 |
| |
| |
| |
|____________________________________|
________ __________________________
|[U] Drive1 [U]| | |
________ | File1 |
| | | |
| Dir1 | | |
| | |__________________________|
|________| |__| |__| |__| |__| |__| |__| |__|

I need List1 and File1 to rezsize vertically and horizontally and dir1 to resize vertically
the little things at the bottom are buttons they are what I'm having my biggest problem with because I'm trying to move them to the bottom all the time but I don't know how much to subtract from the height of the form or if i'm doing somehting wrong I've tried values from 500 to 1000 on 25 intervals and they all look different but nothing is ever close thejust look like a staircase and start halfway off the screen then I had to subtract 2125 from the width of file1 to make the scrool bar appear on the form. To keep from getting and error I put the statement like so

If Form1.Width - 2500 > 0 Then File1.Width = Form3.Width - 2125

I still get an error when I try to resize the form too far to the left and I don't know why.

Any help or an explanation of the numbers system would be wonderful.

P.S. I don't have a copy of the manual cause I'm using it at college and won't be able to buy visual studio till next semister I also don't have the textbook yet cause I'm in C++ there wasn't any room left in any of the vb classes and msdn help isn't installed right cause our coumputer lab kinda sucks