Results 1 to 3 of 3

Thread: RE:Graphics in VB

  1. #1

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Maybe he means an actual frame

    You can use Motox's code, but you have to add Frame1.Width = and Frame1.Height = ... instead of just Width and Height.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  2. #2
    Frenzied Member Motoxpro's Avatar
    Join Date
    Sep 2001
    Location
    Spiro, OK
    Posts
    1,211
    opps forgot

  3. #3
    Lively Member magoochris's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    81
    I worked that out in the second forum

    VB Code:
    1. Private Sub Frame1_DblClick()
    2. Frame1.Height = Frame1.Height * 2
    3. Frame1.Width = Frame1.Width * 2 'Doubles the frame each time
    4. End Sub

    or

    VB Code:
    1. Private Sub Frame1_DblClick()
    2. Frame1.Height = Frame1.Height + 2
    3. Frame1.Width = Frame1.Width + 2 'adds 20 to the frame each time
    4. 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
  •  



Click Here to Expand Forum to Full Width