Results 1 to 3 of 3

Thread: So Many pictures on one form !

  1. #1

    Thread Starter
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535

    Exclamation

    I want to display 75-80 small pictures of about (120 x 96) pixels in size on a form such that only 9 of them are displayed at a time and more can be viewed using vertical scroll bars. When I tried to do so I was able put only 12 images because size of the form is limited to 9000 only.

    Can anyone tell me how to do this?

    Thanks.

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Location
    chicago (hope)
    Posts
    146

    Arrow

    i think you should first add the images to the form and then rearrange them @ form_load

    sub form_load
    image1.left = 10
    image2.left = image1.left + 10
    image3.left = image2.left + 10
    ...
    ...
    image80.left = image79.left + 10

    end sub

    or you use image(1) with a for-to-next-loop

    for x = 1 to 80
    image(x).left = image(x-1).left + 10
    next x

    |__> or isn't that possible (don't know...... am only a programmer for easy thigz)

  3. #3
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633
    The best way to do this is to add the pictures to a frame. Once added, you can use the form_keydown event to reposition the frame like a scroll bar.
    Chemically Formulated As:
    Dr. Nitro

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