Results 1 to 40 of 271

Thread: [VB6] - animated gif function errors:(

Threaded View

  1. #11

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,966

    Re: [VB6] - animated gif function errors:(

    Quote Originally Posted by jmsrickland View Post
    You use AutoSize = True if you want the Picturebox to be the same as the gif image size which is what you have been doing.

    If you want the image to stay at gif size but you want the Picturebox to be bigger then you set AutoSize = False and then you should center the gif image in the Picturebox otherwise it will be positioned at the upper left corner.

    I don't know what any of this has to do with you saying that the ball width is wrong. I tested both ball1 and ball2 and I see nothing wrong with them.
    sorry i mean ball.gif file.
    use the attachment file for see what i mean. for my Sprite2D isn't a problem because i can control the autosize manualy hehehe
    but for another application can be a problem.
    (do you want see my Sprite2D?)
    thanks for all
    Attached Images Attached Images  
    VB6 2D Sprite control

    To live is difficult, but we do it.

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