The Road to Delphi – Adding a background image to a delphi form is a topic very well covered by many articles, but most of them doesn’t work or another produces a lot of flicker when the vcl styles are enabled. The common techniques to set a background image in a form includes : Use a TImage component with the align property set to alClient Use the OnPaint event of the Form and handle the WM_ERASEBKGND message use the Canvas.Brush.Bitmap property of the form to assign a bitmap and so on. Since the introduction of the vcl styles, now you can use the style hooks to handle the paint operations of the ...
Visits by Source
Users who voted for this posting
Jørn E. Angeltveit