VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Tiled graphic in a form without using an image control.

by Javier Puig (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 18th April 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Tiled graphic in a form without using an image control.

API Declarations


'Set an image in the Picture property of the form.

Rate Tiled graphic in a form without using an image control.



   Dim X As Integer
   Dim Y As Integer

   For X = 0 To Width Step ScaleX(Picture.Width)
      For Y = 0 To Height Step ScaleY(Picture.Height)
         PaintPicture Picture, X, Y
      Next
   Next
End Sub


Download this snippet    Add to My Saved Code

Tiled graphic in a form without using an image control. Comments

No comments have been posted about Tiled graphic in a form without using an image control.. Why not be the first to post a comment about Tiled graphic in a form without using an image control..

Post your comment

Subject:
Message:
0/1000 characters