buttonBack.Left=0%x 'Put button at far left
buttonForward.Left=buttonBack.Right 'Put button next to previous button
buttonRefresh.Left=buttonForward.Right 'Put button next to previous button
textURL.SetLeftAndRight(buttonRefresh.Right, 100%x) 'Let the URL textbox span the rest of the width
panStatus.SetLeftAndRight(0%x, 100%x) 'Set status panel to span full width
panStatus.SetTopAndBottom(100%y-panStatus.Height, 100%y) 'Put it at the bottom of the screen, while preserving height
web.SetLeftAndRight(0%x, 100%x) 'Span full width
web.SetTopAndBottom(buttonBack.Bottom, panStatus.Top) 'Fill the available height between buttons and status bar