Results 1 to 2 of 2

Thread: Hey!please tell me

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    india
    Posts
    16

    Hey!please tell me

    I want that if i put a picture on my form then only my picture should be displayed only not the form. and also only the picture ,not the picture box in square form.


    thanking you,

    santy

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    At design time, set the form and picturebox BorderStyle property to 0 - None.
    Then use this code
    Code:
    'load your picture
    Set pic1 = loadpicture("Mypicture.bmp")
    pic1.AutoSize = TRUE
    Form1.Height = pic1.Height
    Form1.Width = pic1.Width
    pic1 is the name of your picturebox control

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