Maybe he means an actual frame :rolleyes:
You can use Motox's code, but you have to add Frame1.Width = and Frame1.Height = ... instead of just Width and Height.
Printable View
Maybe he means an actual frame :rolleyes:
You can use Motox's code, but you have to add Frame1.Width = and Frame1.Height = ... instead of just Width and Height.
opps forgot :D
I worked that out in the second forum :D
VB Code:
Private Sub Frame1_DblClick() Frame1.Height = Frame1.Height * 2 Frame1.Width = Frame1.Width * 2 'Doubles the frame each time End Sub
or
VB Code:
Private Sub Frame1_DblClick() Frame1.Height = Frame1.Height + 2 Frame1.Width = Frame1.Width + 2 'adds 20 to the frame each time End Sub
;)