Delphi programmers often ask how they can set a "repeated" (tiled)
image for a form. Do you suppose that this can be done by setting some
of the form
to the location of the image? This is perfectly understandable, since you
can do this
for an HTML page. This might be a handy addition to Delphi, but for the
still have to program this feature.
A quick example:
- Add an Image component to your form.
- Let its Picture property point to a graphic. Or load the
runtime, as is done in our example.
- Each time the form is repainted, copy the Image's bitmap as many
as is necessary to fill the entire form.
There's an example project TILING.ZIP in our
under the heading Tutorial Projects.
Library FAQ Crash Course
Delphi Tips Source
Code Downloads Links
© Copyright 1999-2019