|
-
Nov 20th, 2001, 02:35 AM
#1
Thread Starter
New Member
RE:Graphics in VB
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]
-
Nov 20th, 2001, 03:06 AM
#2
Conquistador
how do you know how big you want them to be?
-
Nov 20th, 2001, 06:00 AM
#3
Lively Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|