Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listbox question

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How do you make it so that when resizing a form with a listbox on it, the listbox fills the form?
 
Private Sub Form_Resize()
List1.Top = 0
List1.Left = 0
List1.Width = Form1.Width
List1.Height = Form1.Height
End Sub


Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top