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.
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