Results 1 to 3 of 3

Thread: [RESOLVED] Making Picture Scroll Up and Down ( Picture is to long ) VB6

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Posts
    314

    Resolved [RESOLVED] Making Picture Scroll Up and Down ( Picture is to long ) VB6

    Hi Guys I have this small Issue

    I have a created a form in that form i have created picture frame for
    Width 800 High 400

    In That picture frame I have add it picture which dimantions are

    Width: 800
    High: 3095

    Like I said Picture is very long I have created a form to match the width of the picture as for lengh I would like to add scroll to the picture so people can scroll up and down as they wish to see the picture

    Whats the easyest way of doing this Thank you

  2. #2
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Making Picture Scroll Up and Down ( Picture is to long ) VB6

    Edit:

    I have attached an example. Set the picture1 property to the picture (water lillies.jpg) in the zip file.

    hope this helps...
    Attached Files Attached Files
    Last edited by Siddharth Rout; Feb 13th, 2009 at 10:22 AM.
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Posts
    314

    Re: Making Picture Scroll Up and Down ( Picture is to long ) VB6

    Thanks that worked the treat after tiding up few things in code my final question is this

    My scroll bar is to huge now let mne show u what I mean ( even when picture is finished u can still scroll with scroll bar and it takes u to blank page like so



    So even when picture is finished you can still scroll down how can I doit so it will stop scrolling when picture has finished? If you know what I mean thanks agin

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