Results 1 to 3 of 3

Thread: Pictures and forms

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    Scotland, UK
    Posts
    321

    Question Pictures and forms

    Hi, I know this is possible but cant seem to get it to work. (Im probably doing it wrong).

    How do I load a .gif file into the background of a form at runtime? is it:

    myform.picture = "c:\Mypic.gif"

    it doesn't seem to want to work

    Thanks for any help.

  2. #2
    Hyperactive Member beasty1711's Avatar
    Join Date
    Mar 2001
    Posts
    418
    are u setting the pictue etc to visible??
    picture1.visible=true etc
    "...They even have the internet on computers..." :- Homer Simpson

    "Second Place is First Looser" :- No Fear

  3. #3
    Fanatic Member HaxSoft's Avatar
    Join Date
    May 2000
    Location
    Ohio
    Posts
    593
    Big problem; small error

    All you need to do is to call the LoadPicture function.

    Code:
      myForm.Picture = LoadPicture("C:\myPic.gif")

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