Private Sub Form_Resize()
'1440 twips = 1 inch
'Stop setting the size if the inside height is less than an inch tall
If (Me.InsideHeight / 1440 > 1) Then
listBox1.Height = Me.InsideHeight - 1440
End If
End Sub
Kudos to http://www.lebans.com/toc.htm
No comments:
Post a Comment