|
-
Jun 17th, 2009, 03:27 AM
#7
Re: Form Height
>Form1.Hieght = button.Top + button.Bottom + SPACEPADDING
You are forgetting to include the height of the Form's Caption bar which isnoend07 calls TopOffset in his example so try;
TopOffSet = Me.Height - Me.ScaleHeight
Form1.Hieght = button.Top + button.Bottom + SPACEPADDING + TopOffSet
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|