
Originally Posted by
Dave Sell
Either way, I guess. This is a "Client Request"

Yay, one of those.
If you want another way...
Set your scalemode to Pixels. Add a picture box to your usercontrol with coordinates (0, 0) and name it picLines. Then move your cmdButton to (2, 2). Then try this resize code:
VB Code:
Private Sub UserControl_Resize()
cmdButton.Height = ScaleHeight - 4
cmdButton.Width = ScaleWidth - 4
With picLines
.Height = ScaleHeight
.Width = ScaleWidth
.Line (0, 0)-(.Width, 0), RGB(0, 0, 255)
.Line (.Width, 0)-(.Width, .Height), RGB(0, 0, 255)
.Line (.Width, .Height)-(0, .Height), RGB(0, 0, 255)
.Line (0, .Height)-(0, 0), RGB(0, 0, 255)
End With
End Sub