Hi,
I have a form with two frames and i want to enlarge these frames whenever they get double clicked in individual manner and again get resized.
[email protected]
Printable View
Hi,
I have a form with two frames and i want to enlarge these frames whenever they get double clicked in individual manner and again get resized.
[email protected]
how do you know how big you want them to be?
Private Sub Frame1_DblClick()
Frame1.Height = Frame1.Height * 2
Frame1.Width = Frame1.Width * 2 'Doubles the frame each time
End Sub
or
Private Sub Frame1_DblClick()
Frame1.Height = Frame1.Height + 2
Frame1.Width = Frame1.Width + 2 'adds 20 to the frame each time
End Sub
;)