tags:

views:

29

answers:

1

In VB 6 I'm trying to make a control automatically resize based on the form's size. Unfortunately Form.Width is the total width of the form, not just the client area. So how do I find out the interior heigth and width?

+4  A: 

Use the ScaleWidth and ScaleHeight property.

Cidtek
Duh, I can't believe I didn't remember that.
Jonathan Allen