VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Tile an image on a form

by Anonymous (267 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Wed 1st September 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Tile an image on a form

Rate Tile an image on a form



'2) Set the forms AutoRedraw to False
'3) Place this code in the Form Paint Event

Dim intX As Integer
Dim intY As Integer

For intX = 0 To Me.Width Step Image1.Width
    For intY = 0 To Me.Height Step Image1.Height
        PaintPicture Image1, intX, intY
    Next intY
Next intX

Download this snippet    Add to My Saved Code

Tile an image on a form Comments

No comments have been posted about Tile an image on a form. Why not be the first to post a comment about Tile an image on a form.

Post your comment

Subject:
Message:
0/1000 characters