Quote 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:
  1. Private Sub UserControl_Resize()
  2.     cmdButton.Height = ScaleHeight - 4
  3.     cmdButton.Width = ScaleWidth - 4
  4.     With picLines
  5.         .Height = ScaleHeight
  6.         .Width = ScaleWidth
  7.         .Line (0, 0)-(.Width, 0), RGB(0, 0, 255)
  8.         .Line (.Width, 0)-(.Width, .Height), RGB(0, 0, 255)
  9.         .Line (.Width, .Height)-(0, .Height), RGB(0, 0, 255)
  10.         .Line (0, .Height)-(0, 0), RGB(0, 0, 255)
  11.     End With
  12. End Sub